cleanup and fixes

This commit is contained in:
Henry Jameson 2025-02-03 00:14:44 +02:00
commit 7d19cc2d53
17 changed files with 80 additions and 57 deletions

View file

@ -13,6 +13,7 @@ import {
omitBy
} from 'lodash'
import apiService from '../services/api/api.service.js'
import { useInterfaceStore } from 'src/stores/interface'
const emptyTl = (userId = 0) => ({
statuses: [],
@ -510,7 +511,7 @@ const statuses = {
commit('setDeleted', { status })
})
.catch((e) => {
dispatch('pushGlobalNotice', {
useInterfaceStore().pushGlobalNotice({
level: 'error',
messageKey: 'status.delete_error',
messageArgs: [e.message],