1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Do not navigate to Preferences after sync

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2021-08-04 11:38:15 +03:00
parent 3491745eb9
commit 989549a4f4

View File

@ -20,7 +20,7 @@
*/
import { kubernetesClusterCategory } from "../../common/catalog-entities";
import { addClusterURL, preferencesURL } from "../../common/routes";
import { addClusterURL } from "../../common/routes";
import { PathPicker } from "../components/path-picker";
import { multiSet } from "../utils";
import { UserStore } from "../../common/user-store";
@ -59,7 +59,6 @@ export function initCatalogCategoryRegistryEntries() {
properties: ["showHiddenFiles", "multiSelections", "openDirectory"],
onPick: addSyncEntries,
});
ctx.navigate(preferencesURL({ fragment: "kube-sync" }));
},
},
{
@ -72,7 +71,6 @@ export function initCatalogCategoryRegistryEntries() {
properties: ["showHiddenFiles", "multiSelections", "openFile"],
onPick: addSyncEntries,
});
ctx.navigate(preferencesURL({ fragment: "kube-sync" }));
},
},
);
@ -89,7 +87,6 @@ export function initCatalogCategoryRegistryEntries() {
properties: ["showHiddenFiles", "multiSelections", "openFile"],
onPick: addSyncEntries,
});
ctx.navigate(preferencesURL({ fragment: "kube-sync" }));
},
},
);