mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 20:03:09 +02: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');
|
||
|
};
|