1
0

feat(user): save quick add magic mode in api

This commit is contained in:
kolaente
2023-06-11 17:37:49 +02:00
parent 77ee1bfc3e
commit d8ad934643
9 changed files with 31 additions and 68 deletions

View File

@ -99,11 +99,13 @@ import {ref, computed} from 'vue'
import BaseButton from '@/components/base/BaseButton.vue'
import {getQuickAddMagicMode} from '@/helpers/quickAddMagicMode'
import {PREFIXES} from '@/modules/parseTaskText'
import {useAuthStore} from '@/stores/auth'
const authStore = useAuthStore()
const visible = ref(false)
const mode = ref(getQuickAddMagicMode())
const mode = computed(() => authStore.settings.frontendSettings.quickAddMagicMode)
defineProps<{
highlightHintIcon: boolean,