diff --git a/apps/web/src/common/modules/monitoring/Monitoring.vue b/apps/web/src/common/modules/monitoring/Monitoring.vue
index 2921de12d4..00e7eb05d7 100644
--- a/apps/web/src/common/modules/monitoring/Monitoring.vue
+++ b/apps/web/src/common/modules/monitoring/Monitoring.vue
@@ -104,9 +104,9 @@
-
import {
- computed, getCurrentInstance, reactive, watch,
+ computed, reactive, watch,
} from 'vue';
-import type { Vue } from 'vue/types/vue';
+import { useRouter } from 'vue-router/composables';
import { makeReferenceValueHandler } from '@cloudforet/core-lib/component-util/query-search';
@@ -29,7 +29,8 @@ import { PROJECT_ROUTE } from '@/services/project/routes/route-constant';
const props = defineProps<{
activatedProjects: string[];
}>();
-const vm = getCurrentInstance()?.proxy as Vue;
+const router = useRouter();
+
const allReferenceStore = useAllReferenceStore();
const userWorkspaceStore = useUserWorkspaceStore();
const storeState = reactive({
@@ -98,7 +99,7 @@ const onChange = async (options?: any) => {
await listAlertByProject();
};
const onClickProjectBox = (item) => {
- vm.$router.push({ name: PROJECT_ROUTE.DETAIL.TAB.ALERT._NAME, params: { id: item.project_id } });
+ router.push({ name: PROJECT_ROUTE.DETAIL.TAB.ALERT._NAME, params: { id: item.project_id } });
};
/* init */
diff --git a/apps/web/src/services/alert-manager/components/AlertDashboardTop5ProjectActivityWidget.vue b/apps/web/src/services/alert-manager/components/AlertDashboardTop5ProjectActivityWidget.vue
index 4c3766e172..b5e149bfb5 100644
--- a/apps/web/src/services/alert-manager/components/AlertDashboardTop5ProjectActivityWidget.vue
+++ b/apps/web/src/services/alert-manager/components/AlertDashboardTop5ProjectActivityWidget.vue
@@ -1,8 +1,8 @@
-
+
diff --git a/apps/web/src/services/asset-inventory/components/CloudServiceHistory.vue b/apps/web/src/services/asset-inventory/components/CloudServiceHistory.vue
index da62e04fda..9a5c21953f 100644
--- a/apps/web/src/services/asset-inventory/components/CloudServiceHistory.vue
+++ b/apps/web/src/services/asset-inventory/components/CloudServiceHistory.vue
@@ -95,9 +95,9 @@
@@ -131,18 +159,24 @@ window.addEventListener('resize', detectWindowResizing);
:style="state.sidebarContainerStyle"
:class="{transition: state.transition}"
>
-
-
+
-
@@ -173,6 +214,7 @@ window.addEventListener('resize', detectWindowResizing);
diff --git a/packages/mirinae/src/layouts/vertical-layout/story-helper.ts b/packages/mirinae/src/layouts/vertical-layout/story-helper.ts
index 408584cc1d..1a7f9da96d 100644
--- a/packages/mirinae/src/layouts/vertical-layout/story-helper.ts
+++ b/packages/mirinae/src/layouts/vertical-layout/story-helper.ts
@@ -5,6 +5,7 @@ export const getVerticalLayoutArgs = (): Args => ({
initWidth: 300,
minWidth: 100,
maxWidth: 500,
+ enableDoubleClickResize: false,
});
export const getVerticalLayoutParameters = (): Parameters => ({
@@ -75,6 +76,21 @@ export const getVerticalLayoutArgTypes = (): ArgTypes => ({
},
control: 'number',
},
+ enableDoubleClickResize: {
+ name: 'enableDoubleClickResize',
+ type: { name: 'boolean' },
+ description: 'Whether to enable resizing the sidebar with a double-click on the controller.',
+ table: {
+ type: {
+ summary: 'boolean',
+ },
+ category: 'props',
+ defaultValue: {
+ summary: false,
+ },
+ },
+ control: 'boolean',
+ },
// default
sidebar: { table: { disable: true } },
'resizer-button': { table: { disable: true } },