Adopts landing page according to new catalog features (#3055)

Signed-off-by: Mario Sarcher <mario@sarcher.de>
This commit is contained in:
Mario Sarcher authored and GitHub committed 2021-06-15 15:40:17 +02:00
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" } } ))
}
]);
}