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