lint and sw fixes
This commit is contained in:
parent
ad65719ef4
commit
97fdee5c9d
7 changed files with 14 additions and 9 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue