lint and sw fixes

This commit is contained in:
Henry Jameson 2026-06-30 04:02:13 +03:00
commit 97fdee5c9d
7 changed files with 14 additions and 9 deletions

View file

@ -1,9 +1,9 @@
import { mapActions, mapState } from 'pinia'
import ErrorModal from 'src/components/error_modal/error_modal.vue'
import { useInterfaceStore } from 'src/stores/interface.js'
import { mapState, mapActions } from 'pinia'
const GlobalError = {
components: {
ErrorModal,
@ -24,7 +24,11 @@ const GlobalError = {
details() {
if (this.globalError == null) return null
if (this.globalError.error != null) {
return this.globalError.error.toString() + '\n\n' + this.globalError.error.stack
return (
this.globalError.error.toString() +
'\n\n' +
this.globalError.error.stack
)
} else {
return this.globalError.details
}