bucket + card sharer
This commit is contained in:
@@ -6,7 +6,8 @@ export const useUiStore = defineStore('ui', {
|
||||
state: () => ({
|
||||
// UI-only state can live here later
|
||||
showSearch: false,
|
||||
searchQuery: ''
|
||||
searchQuery: '',
|
||||
showCardSharer: false
|
||||
}),
|
||||
|
||||
actions: {
|
||||
@@ -48,6 +49,10 @@ export const useUiStore = defineStore('ui', {
|
||||
})
|
||||
},
|
||||
|
||||
openCardSharer() {
|
||||
this.showCardSharer = true
|
||||
},
|
||||
|
||||
scrollToBox(box: Box) {
|
||||
if (box) {
|
||||
const boxElement = document.getElementById(box.id)
|
||||
|
||||
Reference in New Issue
Block a user