mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-25 12:35:15 +00:00
Fix breakpoint detection for dashboard
type method
This commit is contained in:
parent
7a6a31c493
commit
0121cc9db2
|
@ -13,7 +13,7 @@
|
|||
:cols="{ lg: 12, md: 12, sm: 12, xs: 4, xxs: 2 }"
|
||||
:col-num="12"
|
||||
@layout-updated="layoutUpdatedEvent"
|
||||
@breakpoint-changed="breakpointChanged"
|
||||
@update:breakpoint="breakpointChanged"
|
||||
>
|
||||
<template #default="{ gridItemProps }">
|
||||
<grid-item
|
||||
|
@ -177,8 +177,8 @@ const botStore = useBotStore();
|
|||
const layoutStore = useLayoutStore();
|
||||
const currentBreakpoint = ref('');
|
||||
|
||||
const breakpointChanged = (newBreakpoint) => {
|
||||
// // console.log('breakpoint:', newBreakpoint);
|
||||
const breakpointChanged = (newBreakpoint: string) => {
|
||||
// console.log('breakpoint:', newBreakpoint);
|
||||
currentBreakpoint.value = newBreakpoint;
|
||||
};
|
||||
const isResizableLayout = computed(() =>
|
||||
|
|
|
@ -169,7 +169,7 @@ const botStore = useBotStore();
|
|||
const layoutStore = useLayoutStore();
|
||||
const currentBreakpoint = ref('');
|
||||
|
||||
const breakpointChanged = (newBreakpoint) => {
|
||||
const breakpointChanged = (newBreakpoint: string) => {
|
||||
// console.log('breakpoint:', newBreakpoint);
|
||||
currentBreakpoint.value = newBreakpoint;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user