mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-11-30 13:03:53 +00:00
12 lines
363 B
TypeScript
12 lines
363 B
TypeScript
export default {
|
|
mounted() {
|
|
this.pushEvent('restore_show_characters_add_alert', {
|
|
value: localStorage.getItem('wanderer:hide_characters_add_alert') !== 'true',
|
|
});
|
|
|
|
document.getElementById('characters-add-alert-hide')?.addEventListener('click', e => {
|
|
localStorage.setItem('wanderer:hide_characters_add_alert', 'true');
|
|
});
|
|
},
|
|
};
|