mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Adopts landing page according to new catalog features (#3055)
Signed-off-by: Mario Sarcher <mario@sarcher.de>
This commit is contained in:
1 parent
36dab02c34
commit
ab6b422547
2 files changed
+6
-10
No files matched your search
@@ -19,7 +19,7 @@
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
import { catalogURL, preferencesURL } from "../../common/routes";
|
||||
import { catalogURL } from "../../common/routes";
|
||||
import { WelcomeMenuRegistry } from "../../extensions/registries";
|
||||
import { navigate } from "../navigation";
|
||||
|
||||
@@ -27,14 +27,9 @@ export function initWelcomeMenuRegistry() {
|
||||
WelcomeMenuRegistry.getInstance()
|
||||
.add([
|
||||
{
|
||||
title: "Browse Your Catalog",
|
||||
title: "Browse Clusters",
|
||||
icon: "view_list",
|
||||
click: () => navigate(catalogURL())
|
||||
},
|
||||
{
|
||||
title: "Configure Preferences",
|
||||
icon: "settings",
|
||||
click: () => navigate(preferencesURL())
|
||||
click: () => navigate(catalogURL({ params: { group: "entity.k8slens.dev", kind: "KubernetesCluster" } } ))
|
||||
}
|
||||
]);
|
||||
}
|
||||
Reference in new issue
Block a user