mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
fix indentation and remove console log
This commit is contained in:
@ -175,6 +175,7 @@ import { useCompanyStore } from '@/scripts/admin/stores/company'
|
||||
import { computed } from 'vue'
|
||||
import draggable from 'vuedraggable'
|
||||
import Item from './CreateItemRow.vue'
|
||||
|
||||
const props = defineProps({
|
||||
store: {
|
||||
type: Object,
|
||||
@ -197,7 +198,9 @@ const props = defineProps({
|
||||
default: '',
|
||||
},
|
||||
})
|
||||
|
||||
const companyStore = useCompanyStore()
|
||||
|
||||
const defaultCurrency = computed(() => {
|
||||
if (props.currency) {
|
||||
return props.currency
|
||||
|
||||
@ -19,7 +19,6 @@ const globalStore = useGlobalStore()
|
||||
const enabled = computed({
|
||||
get: () => globalStore.isDarkModeOn,
|
||||
set: (value) => {
|
||||
console.log(value)
|
||||
if (value) {
|
||||
localStorage.theme = 'dark'
|
||||
document.documentElement.classList.add('dark')
|
||||
|
||||
Reference in New Issue
Block a user