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