mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-17 07:27:36 -07:00
11 lines
195 B
TypeScript
11 lines
195 B
TypeScript
|
export default ($root: any) => {
|
||
|
if ($root.$store.getters.isSignedIn) return;
|
||
|
|
||
|
$root.dialog({
|
||
|
title: $root.$t('@.signin-required'),
|
||
|
text: null
|
||
|
});
|
||
|
|
||
|
throw new Error('signin required');
|
||
|
};
|