Simplify migration

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2021-06-18 11:52:37 -04:00
1 parent 5a2361855b
commit 75a8119c95
1 file changed
+1 -1
+1 -1
View File
@@ -56,7 +56,7 @@ export default {
for (const cluster of clusters) { for (const cluster of clusters) {
const workspaceHotbar = workspaceHotbars.get(cluster.workspace); const workspaceHotbar = workspaceHotbars.get(cluster.workspace);
if (workspaceHotbar && workspaceHotbars.get(cluster.workspace).items.length < defaultHotbarCells) { if (workspaceHotbar?.items.length < defaultHotbarCells) {
workspaceHotbar.items.push({ workspaceHotbar.items.push({
entity: { entity: {
uid: cluster.id, uid: cluster.id,