add path api to CLI

This commit is contained in:
Gabriel Pastori
2023-11-19 15:01:19 -03:00
parent e5e6e27dbc
commit f28fbfcea0
10 changed files with 207 additions and 62 deletions

View File

@@ -138,7 +138,10 @@ export default {
this.$refs.createInstanceModal.open();
},
goToInstance(instance) {
this.$router.push(`/${instance.instanceName}`);
this.$router.push({
name: "instance",
params: { id: instance.instanceName },
});
},
async deleteInstance(instanceName) {
try {