mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-08-16 12:49:14 +00:00
25 lines
567 B
Vue
25 lines
567 B
Vue
<script>
|
|
import { h } from 'vue';
|
|
import { PRODUCT_NAME } from '../config/harvester';
|
|
|
|
export default {
|
|
name: 'ForkliftProviderEdit',
|
|
|
|
created() {
|
|
const { namespace, id } = this.$route.params;
|
|
const query = namespace && id ? { providerId: `${ namespace }/${ id }` } : {};
|
|
|
|
this.$router.replace({
|
|
name: `${ PRODUCT_NAME }-c-cluster-vm-migration-provider-wizard`,
|
|
params: {
|
|
product: this.$route.params.product,
|
|
cluster: this.$route.params.cluster,
|
|
},
|
|
query,
|
|
});
|
|
},
|
|
|
|
render: () => h('div'),
|
|
};
|
|
</script>
|