Merge pull request 'Let (foreign) user profiles override current wallpaper' (#3498) from profile-bg into develop
Reviewed-on: https://git.pleroma.social/pleroma/pleroma-fe/pulls/3498
This commit is contained in:
commit
9c22077e39
10 changed files with 35 additions and 3 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