mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 21:21:44 +00:00
24 lines
455 B
Vue
24 lines
455 B
Vue
<script>
|
|
import { PRODUCT_NAME } from '../../../config/harvester';
|
|
import { HCI } from '../../../types';
|
|
|
|
export default {
|
|
beforeCreate() {
|
|
this.$router.replace({
|
|
name: `${ PRODUCT_NAME }-c-cluster-resource`,
|
|
params: {
|
|
...this.$router.currentRoute.params,
|
|
product: PRODUCT_NAME,
|
|
resource: HCI.DASHBOARD
|
|
}
|
|
});
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<template>
|
|
<div>
|
|
This is harvester Dashboard.
|
|
</div>
|
|
</template>
|