feat: expanded search capabilities of spotlight (#3255)
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
This commit is contained in:
@@ -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 }) => {
|
||||
|
||||
@@ -158,5 +158,7 @@ const duplicateEnvironments = () => {
|
||||
cloneDeep(getGlobalVariables())
|
||||
)
|
||||
} else duplicateEnvironment(props.environmentIndex)
|
||||
|
||||
toast.success(`${t("environment.duplicated")}`)
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -154,7 +154,7 @@ const duplicateEnvironments = () => {
|
||||
toast.error(`${getErrorMessage(err)}`)
|
||||
},
|
||||
() => {
|
||||
toast.success(`${t("team_environment.duplicate")}`)
|
||||
toast.success(`${t("environment.duplicated")}`)
|
||||
}
|
||||
)
|
||||
)()
|
||||
|
||||
Reference in New Issue
Block a user