diff --git a/src/client/init.ts b/src/client/init.ts index 2c5a45984..a5c310dd6 100644 --- a/src/client/init.ts +++ b/src/client/init.ts @@ -195,6 +195,7 @@ os.init(async () => { return p; }, post(opts, cb) { + if (!this.$store.getters.isSignedIn) return; const vm = this.new(PostFormDialog, opts); if (cb) vm.$once('closed', cb); (vm as any).focus();