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() {
|
||||
try {
|
||||
if (localStorage.getItem('notice-dismissed') !== 'y') {
|
||||
if (localStorage.getItem('jp-translator-notice-dismissed') !== 'y') {
|
||||
this.dismissed = false;
|
||||
}
|
||||
} catch {}
|
||||
|
@ -52,7 +52,7 @@ export default {
|
|||
methods: {
|
||||
onDismiss() {
|
||||
try {
|
||||
localStorage.setItem('notice-dismissed', 'y');
|
||||
localStorage.setItem('jp-translator-notice-dismissed', 'y');
|
||||
this.dismissed = true;
|
||||
} catch {}
|
||||
},
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
sidebar: auto
|
||||
---
|
||||
|
||||
<JPTranslatorNotice />
|
||||
|
||||
<!-- prettier-ignore-start -->
|
||||
|
||||
# 導入ガイド
|
||||
|
|
Loading…
Reference in a new issue