mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 12:43:48 -04:00
fix linter
This commit is contained in:
parent
39429e1b9b
commit
a4799d397a
@ -183,7 +183,7 @@
|
|||||||
</nuxt-link>
|
</nuxt-link>
|
||||||
</div>
|
</div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<SafariWarning dismissable/>
|
<SafariWarning dismissable />
|
||||||
</div>
|
</div>
|
||||||
<div v-if="$user() && $user().bannedReason" class="alert alert-danger mb-0 container">
|
<div v-if="$user() && $user().bannedReason" class="alert alert-danger mb-0 container">
|
||||||
<p class="h4 mb-2">
|
<p class="h4 mb-2">
|
||||||
|
@ -32,9 +32,23 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
props: {
|
||||||
|
dismissable: { type: Boolean },
|
||||||
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
display: false,
|
display: false,
|
||||||
|
};
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
if (!process.client) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.display = this.$isSafari();
|
||||||
|
|
||||||
|
if (this.dismissable && !!localStorage.getItem('safariWarningDismissed')) {
|
||||||
|
this.display = false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -43,17 +57,5 @@ export default {
|
|||||||
this.display = false;
|
this.display = false;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
|
||||||
if (!process.client) { return; }
|
|
||||||
|
|
||||||
this.display = this.$isSafari();
|
|
||||||
|
|
||||||
if (this.dismissable && !!localStorage.getItem('safariWarningDismissed')) {
|
|
||||||
this.display = false;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
props: {
|
|
||||||
dismissable: { type: Boolean },
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user