Don't try updating queue if there are no entry types
This commit is contained in:
@ -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);
|
||||
})();
|
||||
|
||||
|
Reference in New Issue
Block a user