Show success after uploading plugin
This commit is contained in:
parent
5ae40d8e15
commit
10440803fe
|
@ -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