Merge remote-tracking branch 'origin/develop' into sss-objects
This commit is contained in:
commit
984164d206
23 changed files with 228 additions and 217 deletions
|
|
@ -44,6 +44,17 @@ export const useInterfaceStore = defineStore('interface', {
|
|||
lastTimeline: null
|
||||
}),
|
||||
actions: {
|
||||
setTemporaryChanges ({ timeoutId, confirm, revert }) {
|
||||
this.temporaryChangesTimeoutId = timeoutId
|
||||
this.temporaryChangesConfirm = confirm
|
||||
this.temporaryChangesRevert = revert
|
||||
},
|
||||
clearTemporaryChanges () {
|
||||
clearTimeout(this.temporaryChangesTimeoutId)
|
||||
this.temporaryChangesTimeoutId = null
|
||||
this.temporaryChangesConfirm = () => {}
|
||||
this.temporaryChangesRevert = () => {}
|
||||
},
|
||||
setPageTitle (option = '') {
|
||||
try {
|
||||
document.title = `${option} ${window.vuex.state.instance.name}`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue