refactor(ui): minor ui improvements
This commit is contained in:
@@ -47,8 +47,8 @@ export default Vue.extend({
|
||||
methods: {
|
||||
addNewEnvironment() {
|
||||
if (!this.name) {
|
||||
this.$toast.info(this.$t("environment.invalid_name").toString(), {
|
||||
icon: "info",
|
||||
this.$toast.error(this.$t("environment.invalid_name").toString(), {
|
||||
icon: "error_outline",
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user