Show success after uploading plugin
This commit is contained in:
parent
233d5e190c
commit
83c072fe48
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue