fix(customizations): responsive updates

This commit is contained in:
Sabe Jones
2024-05-23 17:50:16 -05:00
parent a53a9be4b7
commit 688e7181f0
3 changed files with 32 additions and 17 deletions

View File

@@ -47,6 +47,7 @@
class="new-user"
:member="user"
:avatar-only="true"
:override-top-padding="'0px'"
/>
</div>
<avatar
@@ -1096,6 +1097,17 @@ export default {
this.monthlyBackgrounds = orderBy(this.monthlyBackgrounds, bg => bg.key, 'desc');
this.standardBackgrounds.splice(0, 0, { key: '', notes: () => this.$t('noBackground') });
if (this.editing) this.modalPage = 2;
this.$root.$on('buyModal::boughtItem', item => {
if (item.path.includes('background')) {
const newBackground = this.allBackgrounds[item.path.split('.')[2]];
if (newBackground.set === 'timeTravelBackgrounds') {
this.timeTravelBackgrounds.push(newBackground);
} else {
this.monthlyBackgrounds.push(newBackground);
this.monthlyBackgrounds = orderBy(this.monthlyBackgrounds, bg => bg.key, 'desc');
}
}
});
},
methods: {
close () {