adds success notification when saving api keys

This commit is contained in:
Keviin Åberg Kultalahti 2021-03-12 13:29:54 +01:00
parent 2cd7567f9d
commit 3cfd4cc590
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@
const response = await api.put(`/api/keys/${key}`, { value })
const res = await response.json()
keys = { ...keys, ...res }
notifier.success("API Key saved.")
}
// Get Keys