Skip to content
Snippets Groups Projects
Unverified Commit b6a40610 authored by Xeltica's avatar Xeltica Committed by GitHub
Browse files

fix 非ログイン時に n または p キー押下で投稿フォームが出る (#6508)

* fix #5851

* post-formのスポーンを弾く場所を変更
parent 48c94907
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment