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