Change export filename to use shortid
This commit is contained in:
parent
cf9e428447
commit
f92be8c42f
@ -194,7 +194,7 @@ function ImportExportModal({ isOpen, onRequestClose }) {
|
|||||||
mapIds,
|
mapIds,
|
||||||
tokenIds
|
tokenIds
|
||||||
);
|
);
|
||||||
saveAs(blob, `${new Date().toISOString()}.owlbear`);
|
saveAs(blob, `${shortid.generate()}.owlbear`);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
setError(e);
|
setError(e);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user