zammad/app/frontend/apps/mobile/components/layout/useCustomLayout.ts
2026-01-02 15:41:09 +02:00

16 lines
359 B
TypeScript

// Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/
import { readonly, ref } from 'vue'
const isCustomLayout = ref(false)
export const useCustomLayout = () => {
const setCustomLayout = (value: boolean) => {
isCustomLayout.value = value
}
return {
isCustomLayout: readonly(isCustomLayout),
setCustomLayout,
}
}