feat: expanded search capabilities of spotlight (#3255)

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
This commit is contained in:
Anwarul Islam
2023-08-21 20:33:51 +06:00
committed by GitHub
parent b0b6edc58e
commit 5a91fb53b2
23 changed files with 1633 additions and 25 deletions

View File

@@ -198,6 +198,11 @@ const resetSelectedData = () => {
editingEnvironmentIndex.value = null
}
defineActionHandler("modals.environment.new", () => {
action.value = "new"
showModalDetails.value = true
})
defineActionHandler(
"modals.my.environment.edit",
({ envName, variableName }) => {

View File

@@ -158,5 +158,7 @@ const duplicateEnvironments = () => {
cloneDeep(getGlobalVariables())
)
} else duplicateEnvironment(props.environmentIndex)
toast.success(`${t("environment.duplicated")}`)
}
</script>

View File

@@ -154,7 +154,7 @@ const duplicateEnvironments = () => {
toast.error(`${getErrorMessage(err)}`)
},
() => {
toast.success(`${t("team_environment.duplicate")}`)
toast.success(`${t("environment.duplicated")}`)
}
)
)()