feat(frontend): add useQuickAddMode composable for quick-add detection
This commit is contained in:
parent
20a8ce6858
commit
d72a3a8c0d
|
|
@ -0,0 +1,4 @@
|
|||
export function useQuickAddMode() {
|
||||
const isQuickAddMode = new URLSearchParams(window.location.search).get('mode') === 'quick-add'
|
||||
return { isQuickAddMode }
|
||||
}
|
||||
Loading…
Reference in New Issue