Show success after uploading plugin

This commit is contained in:
Andrew Kingston 2022-08-12 14:34:16 +01:00
parent 233d5e190c
commit 83c072fe48
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@
let data = new FormData() let data = new FormData()
data.append("file", $values.logo) data.append("file", $values.logo)
await API.uploadPlugin(data) await API.uploadPlugin(data)
notifications.success("Plugin uploaded successfully")
} catch (error) { } catch (error) {
notifications.error("Error uploading logo") notifications.error("Error uploading logo")
} }