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