feat(frontend): add useQuickAddMode composable for quick-add detection

This commit is contained in:
kolaente 2026-03-03 00:01:26 +01:00 committed by kolaente
parent 20a8ce6858
commit d72a3a8c0d
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
export function useQuickAddMode() {
const isQuickAddMode = new URLSearchParams(window.location.search).get('mode') === 'quick-add'
return { isQuickAddMode }
}