Skip to content

Commit

Permalink
fix: fixes menu bug when merging logs (#2978)
Browse files Browse the repository at this point in the history
  • Loading branch information
amir20 committed May 23, 2024
1 parent 9408a9a commit 6acb712
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 20 deletions.
19 changes: 0 additions & 19 deletions assets/auto-imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ declare global {
const getDeep: typeof import('./utils/index')['getDeep']
const globalShowPopup: typeof import('./composable/popup')['globalShowPopup']
const h: typeof import('vue')['h']
const hash: typeof import('./utils/index')['hash']
const hashCode: typeof import('./utils/index')['hashCode']
const hourStyle: typeof import('./stores/settings')['hourStyle']
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
Expand All @@ -73,9 +72,6 @@ declare global {
const isRef: typeof import('vue')['isRef']
const lightTheme: typeof import('./stores/settings')['lightTheme']
const locale: typeof import('./stores/settings')['locale']
const logContext: typeof import('./composable/logContext')['logContext']
const logContextKey: typeof import('./composable/logContext')['logContextKey']
const logSearchContext: typeof import('./composable/logSearchContext')['logSearchContext']
const loggingContextKey: typeof import('./composable/logContext')['loggingContextKey']
const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable']
const mapActions: typeof import('pinia')['mapActions']
Expand Down Expand Up @@ -106,15 +102,12 @@ declare global {
const onUnmounted: typeof import('vue')['onUnmounted']
const onUpdated: typeof import('vue')['onUpdated']
const pausableWatch: typeof import('@vueuse/core')['pausableWatch']
const persistentVisibleKeys: typeof import('./composable/storage')['persistentVisibleKeys']
const persistentVisibleKeysForContainer: typeof import('./composable/storage')['persistentVisibleKeysForContainer']
const pinnedContainers: typeof import('./composable/storage')['pinnedContainers']
const provide: typeof import('vue')['provide']
const provideContainerContext: typeof import('./composable/containerContext')['provideContainerContext']
const provideLocal: typeof import('@vueuse/core')['provideLocal']
const provideLoggingContext: typeof import('./composable/logContext')['provideLoggingContext']
const provideServiceContext: typeof import('./composable/serviceContext')['provideServiceContext']
const provideStackContext: typeof import('./composable/stackContext')['provideStackContext']
const reactify: typeof import('@vueuse/core')['reactify']
const reactifyObject: typeof import('@vueuse/core')['reactifyObject']
const reactive: typeof import('vue')['reactive']
Expand All @@ -132,7 +125,6 @@ declare global {
const resolveRef: typeof import('@vueuse/core')['resolveRef']
const resolveUnref: typeof import('@vueuse/core')['resolveUnref']
const search: typeof import('./stores/settings')['search']
const serviceContext: typeof import('./composable/serviceContext')['serviceContext']
const sessionHost: typeof import('./composable/storage')['sessionHost']
const setActivePinia: typeof import('pinia')['setActivePinia']
const setMapStoreSuffix: typeof import('pinia')['setMapStoreSuffix']
Expand All @@ -147,7 +139,6 @@ declare global {
const size: typeof import('./stores/settings')['size']
const smallerScrollbars: typeof import('./stores/settings')['smallerScrollbars']
const softWrap: typeof import('./stores/settings')['softWrap']
const stackContext: typeof import('./composable/stackContext')['stackContext']
const storeToRefs: typeof import('pinia')['storeToRefs']
const stripVersion: typeof import('./utils/index')['stripVersion']
const syncRef: typeof import('@vueuse/core')['syncRef']
Expand Down Expand Up @@ -200,7 +191,6 @@ declare global {
const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog']
const useContainerActions: typeof import('./composable/containerActions')['useContainerActions']
const useContainerContext: typeof import('./composable/containerContext')['useContainerContext']
const useContainerContextLogStream: typeof import('./composable/eventStreams')['useContainerContextLogStream']
const useContainerStore: typeof import('./stores/container')['useContainerStore']
const useContainerStream: typeof import('./composable/eventStreams')['useContainerStream']
const useCounter: typeof import('@vueuse/core')['useCounter']
Expand Down Expand Up @@ -257,7 +247,6 @@ declare global {
const useLink: typeof import('vue-router')['useLink']
const useLocalStorage: typeof import('@vueuse/core')['useLocalStorage']
const useLogSearchContext: typeof import('./composable/logSearchContext')['useLogSearchContext']
const useLogStream: typeof import('./composable/stackEventStream')['useLogStream']
const useLoggingContext: typeof import('./composable/logContext')['useLoggingContext']
const useMagicKeys: typeof import('@vueuse/core')['useMagicKeys']
const useManualRefHistory: typeof import('@vueuse/core')['useManualRefHistory']
Expand All @@ -282,10 +271,7 @@ declare global {
const useParentElement: typeof import('@vueuse/core')['useParentElement']
const usePerformanceObserver: typeof import('@vueuse/core')['usePerformanceObserver']
const usePermission: typeof import('@vueuse/core')['usePermission']
const usePinned: typeof import('./stores/pinned')['usePinned']
const usePinnedContainers: typeof import('./stores/pinned')['usePinnedContainers']
const usePinnedLogsStore: typeof import('./stores/pinned')['usePinnedLogsStore']
const usePinnedStore: typeof import('./stores/pinned')['usePinnedStore']
const usePointer: typeof import('@vueuse/core')['usePointer']
const usePointerLock: typeof import('@vueuse/core')['usePointerLock']
const usePointerSwipe: typeof import('@vueuse/core')['usePointerSwipe']
Expand All @@ -309,8 +295,6 @@ declare global {
const useScrollLock: typeof import('@vueuse/core')['useScrollLock']
const useSearchFilter: typeof import('./composable/search')['useSearchFilter']
const useSeoMeta: typeof import('@vueuse/head')['useSeoMeta']
const useServiceContext: typeof import('./composable/serviceContext')['useServiceContext']
const useServiceContextLogStream: typeof import('./composable/eventStreams')['useServiceContextLogStream']
const useServiceStream: typeof import('./composable/eventStreams')['useServiceStream']
const useSessionStorage: typeof import('@vueuse/core')['useSessionStorage']
const useShare: typeof import('@vueuse/core')['useShare']
Expand All @@ -319,9 +303,6 @@ declare global {
const useSorted: typeof import('@vueuse/core')['useSorted']
const useSpeechRecognition: typeof import('@vueuse/core')['useSpeechRecognition']
const useSpeechSynthesis: typeof import('@vueuse/core')['useSpeechSynthesis']
const useStackContext: typeof import('./composable/stackContext')['useStackContext']
const useStackContextLogStream: typeof import('./composable/eventStreams')['useStackContextLogStream']
const useStackStore: typeof import('./stores/swarm')['useStackStore']
const useStackStream: typeof import('./composable/eventStreams')['useStackStream']
const useStepper: typeof import('@vueuse/core')['useStepper']
const useStorage: typeof import('@vueuse/core')['useStorage']
Expand Down
6 changes: 5 additions & 1 deletion assets/components/HostMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@
{{ label.startsWith("label.") ? $t(label) : label }}

<router-link
:to="{ name: 'merged', query: { id: containers.map(({ id }) => id) } }"
:to="{
name: 'merged-name',
query: { id: containers.map(({ id }) => id) },
params: { name: label.replace('label.', '') },
}"
class="btn btn-square btn-outline btn-primary btn-xs"
active-class="btn-active"
title="Merge all containers into one view"
Expand Down
File renamed without changes.

0 comments on commit 6acb712

Please sign in to comment.