biome format --write

This commit is contained in:
Henry Jameson 2026-01-06 16:22:52 +02:00
commit 9262e803ec
415 changed files with 54076 additions and 17419 deletions

View file

@ -9,34 +9,32 @@ import StillImage from 'src/components/still-image/still-image.vue'
library.add(faChevronRight, faFolder)
const StatusBookmarkFolderMenu = {
props: [
'status',
'close'
],
data () {
props: ['status', 'close'],
data() {
return {}
},
components: {
Popover,
StillImage
StillImage,
},
computed: {
...mapState(useBookmarkFoldersStore, {
folders: store => store.allFolders
folders: (store) => store.allFolders,
}),
folderId () {
folderId() {
return this.status.bookmark_folder_id
}
},
},
methods: {
toggleFolder (id) {
toggleFolder(id) {
const value = id === this.folderId ? null : id
this.$store.dispatch('bookmark', { id: this.status.id, bookmark_folder_id: value })
this.$store
.dispatch('bookmark', { id: this.status.id, bookmark_folder_id: value })
.then(() => this.$emit('onSuccess'))
.catch(err => this.$emit('onError', err.error.error))
}
}
.catch((err) => this.$emit('onError', err.error.error))
},
},
}
export default StatusBookmarkFolderMenu