1
0
forked from test/crm

fix: moved modal related code to modal.js

(cherry picked from commit 571126c36d54ed301ce762ad57dd3465dec27787)
This commit is contained in:
Shariq Ansari 2025-06-04 18:34:19 +05:30 committed by Mergify
parent 1870ced3b1
commit 42594c44ce
4 changed files with 6 additions and 8 deletions

View File

@ -24,7 +24,7 @@ import {
createDocumentData,
createDocumentCallback,
} from '@/composables/document'
import { showAboutModal } from '@/composables/settings'
import { showAboutModal } from '@/composables/modals'
import { ref } from 'vue'
const showQuickEntryModal = ref(false)

View File

@ -55,11 +55,8 @@ import Apps from '@/components/Apps.vue'
import { sessionStore } from '@/stores/session'
import { usersStore } from '@/stores/users'
import { getSettings } from '@/stores/settings'
import {
showSettings,
isMobileView,
showAboutModal,
} from '@/composables/settings'
import { showSettings, isMobileView } from '@/composables/settings'
import { showAboutModal } from '@/composables/modals'
import { confirmLoginToFrappeCloud } from '@/composables/frappecloud'
import { Dropdown } from 'frappe-ui'
import { theme, toggleTheme } from '@/stores/theme'

View File

@ -0,0 +1,3 @@
import { ref } from 'vue';
export const showAboutModal = ref(false);

View File

@ -42,5 +42,3 @@ export const isMobileView = computed(() => window.innerWidth < 768)
export const showSettings = ref(false)
export const activeSettingsPage = ref('')
export const showAboutModal = ref(false)