2019-07-28 03:35:53 +02:00
|
|
|
export default ($root: any) => {
|
|
|
|
if ($root.$store.getters.isSignedIn) return;
|
|
|
|
|
|
|
|
$root.dialog({
|
2020-02-11 22:27:11 +01:00
|
|
|
title: $root.$t('signinRequired'),
|
2019-07-28 03:35:53 +02:00
|
|
|
text: null
|
|
|
|
});
|
|
|
|
|
|
|
|
throw new Error('signin required');
|
|
|
|
};
|