Hide first time banner after import wish
parent
c97c97ae24
commit
b284c66bfc
|
@ -13,6 +13,7 @@
|
|||
import { characters } from '../data/characters';
|
||||
import { readSave, updateSave } from '../stores/saveManager';
|
||||
|
||||
export let processFirstTimePopup;
|
||||
export let closeModal;
|
||||
|
||||
const fetchController = new AbortController();
|
||||
|
@ -374,6 +375,8 @@
|
|||
}
|
||||
|
||||
function processWishes(code, type) {
|
||||
processFirstTimePopup(false, false);
|
||||
|
||||
if (wishes[code] === undefined) return;
|
||||
console.log('processing', type.name);
|
||||
|
||||
|
|
|
@ -88,6 +88,7 @@
|
|||
ImportModal,
|
||||
{
|
||||
closeModal: closeImportModal,
|
||||
processFirstTimePopup,
|
||||
},
|
||||
{
|
||||
closeButton: false,
|
||||
|
|
Loading…
Reference in New Issue