0.2.89
This commit is contained in:
1 parent
9e133628e5
commit
0abc8e871d
6 files changed
+47
-7
No files matched your search
@@ -277,7 +277,9 @@ export function startNoteEditor(adapter) {
|
||||
setMarkdownMentions([]);
|
||||
mentionAutocomplete.setUsers([]);
|
||||
mentionNavigator.setUsers([]);
|
||||
if (!accountSession) { render(); return; }
|
||||
// Session validation can finish before loadNoteInfo(); avoid a premature
|
||||
// request (and a second request when note info becomes available).
|
||||
if (!accountSession || !info) { render(); return; }
|
||||
try {
|
||||
const params = new URLSearchParams({ kind: adapter.access.kind, slug: adapter.access.key });
|
||||
const response = await api(`/api/auth/resources/mentions?${params}`);
|
||||
|
||||
Reference in new issue
Block a user