add translator notice to jp guide
This commit is contained in:
parent
2786327ab6
commit
dd2e9df023
2 changed files with 4 additions and 2 deletions
|
@ -44,7 +44,7 @@ export default {
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
try {
|
try {
|
||||||
if (localStorage.getItem('notice-dismissed') !== 'y') {
|
if (localStorage.getItem('jp-translator-notice-dismissed') !== 'y') {
|
||||||
this.dismissed = false;
|
this.dismissed = false;
|
||||||
}
|
}
|
||||||
} catch {}
|
} catch {}
|
||||||
|
@ -52,7 +52,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
onDismiss() {
|
onDismiss() {
|
||||||
try {
|
try {
|
||||||
localStorage.setItem('notice-dismissed', 'y');
|
localStorage.setItem('jp-translator-notice-dismissed', 'y');
|
||||||
this.dismissed = true;
|
this.dismissed = true;
|
||||||
} catch {}
|
} catch {}
|
||||||
},
|
},
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
sidebar: auto
|
sidebar: auto
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<JPTranslatorNotice />
|
||||||
|
|
||||||
<!-- prettier-ignore-start -->
|
<!-- prettier-ignore-start -->
|
||||||
|
|
||||||
# 導入ガイド
|
# 導入ガイド
|
||||||
|
|
Loading…
Reference in a new issue