unflake
This commit is contained in:
parent
b0c56c0a0d
commit
a0a110580d
1 changed files with 10 additions and 10 deletions
|
|
@ -311,16 +311,6 @@ export default defineComponent({
|
|||
selectedRegion: settings.savingsRegion || ("Germany" as string),
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
const modal = this.$refs["modal"] as HTMLElement;
|
||||
modal.addEventListener("shown.bs.modal", this.handleShown);
|
||||
modal.addEventListener("hidden.bs.modal", this.handleHidden);
|
||||
},
|
||||
unmounted() {
|
||||
const modal = this.$refs["modal"] as HTMLElement;
|
||||
modal?.removeEventListener("shown.bs.modal", this.handleShown);
|
||||
modal?.removeEventListener("hidden.bs.modal", this.handleHidden);
|
||||
},
|
||||
computed: {
|
||||
sponsorActive(): boolean {
|
||||
return !!this.sponsor?.status?.name;
|
||||
|
|
@ -429,6 +419,16 @@ export default defineComponent({
|
|||
return this.indicatorValueFor(this.indicator, true);
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
const modal = this.$refs["modal"] as HTMLElement;
|
||||
modal.addEventListener("shown.bs.modal", this.handleShown);
|
||||
modal.addEventListener("hidden.bs.modal", this.handleHidden);
|
||||
},
|
||||
unmounted() {
|
||||
const modal = this.$refs["modal"] as HTMLElement;
|
||||
modal?.removeEventListener("shown.bs.modal", this.handleShown);
|
||||
modal?.removeEventListener("hidden.bs.modal", this.handleHidden);
|
||||
},
|
||||
methods: {
|
||||
showCommunity() {
|
||||
this.communityView = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue