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

@ -4,43 +4,44 @@ import SharedComputedObject from '../helpers/shared_computed_object.js'
import { clearCache, cacheKey, emojiCacheKey } from 'src/services/sw/sw.js'
const pleromaFeCommitUrl = 'https://git.pleroma.social/pleroma/pleroma-fe/commit/'
const pleromaFeCommitUrl =
'https://git.pleroma.social/pleroma/pleroma-fe/commit/'
const VersionTab = {
data () {
data() {
const instance = this.$store.state.instance
return {
backendVersion: instance.backendVersion,
backendRepository: instance.backendRepository,
frontendVersion: instance.frontendVersion
frontendVersion: instance.frontendVersion,
}
},
components: {
BooleanSetting
BooleanSetting,
},
computed: {
frontendVersionLink () {
frontendVersionLink() {
return pleromaFeCommitUrl + this.frontendVersion
},
...SharedComputedObject(),
},
methods: {
clearAssetCache () {
clearAssetCache() {
this.clearCache(cacheKey)
},
clearEmojiCache () {
clearEmojiCache() {
this.clearCache(emojiCacheKey)
},
clearCache (key) {
clearCache(key) {
clearCache(key)
.then(() => {
this.$store.dispatch('settingsSaved', { success: true })
})
.catch(error => {
.catch((error) => {
this.$store.dispatch('settingsSaved', { error })
})
}
}
},
},
}
export default VersionTab