Don't try updating queue if there are no entry types
This commit is contained in:
parent
7087b2ec16
commit
cc8c03a2ea
@ -337,6 +337,7 @@ export default function () {
|
||||
messageChannel.current = new MessageChannel();
|
||||
|
||||
(async function () {
|
||||
if (!pageProps.entry_types.length) return;
|
||||
await updateQueue(pageProps.entry_types[0].value, before, false, true);
|
||||
})();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user