user profile's backgrounds support
This commit is contained in:
parent
2b62f96889
commit
2aee91662d
7 changed files with 25 additions and 1 deletions
|
|
@ -60,6 +60,7 @@ export const useInterfaceStore = defineStore('interface', {
|
|||
globalNotices: [],
|
||||
layoutHeight: 0,
|
||||
lastTimeline: null,
|
||||
foreignProfileBackground: null,
|
||||
}),
|
||||
actions: {
|
||||
setTemporaryChanges({ confirm, revert }) {
|
||||
|
|
@ -96,6 +97,9 @@ export const useInterfaceStore = defineStore('interface', {
|
|||
console.error(`${error}`)
|
||||
}
|
||||
},
|
||||
setForeignProfileBackground(url) {
|
||||
this.foreignProfileBackground = url
|
||||
},
|
||||
settingsSaved({ success, error }) {
|
||||
if (success) {
|
||||
if (this.noticeClearTimeout) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue