mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Simplify migration
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
5a2361855b
commit
75a8119c95
@ -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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user