mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Clear actions modal on save
This commit is contained in:
parent
a3a06569c0
commit
3fc7619367
@ -41,6 +41,12 @@ function NewActionModal(props: Props) {
|
||||
|
||||
function save() {
|
||||
onOk(actionUrl, actionTitle, actionDescription, actionIcon, actionColor, openExternally);
|
||||
setActionUrl('')
|
||||
setActionTitle('')
|
||||
setActionDescription('')
|
||||
setActionIcon('')
|
||||
setActionColor('')
|
||||
setOpenExternally(false)
|
||||
}
|
||||
|
||||
function canSave(): Boolean {
|
||||
|
Loading…
x
Reference in New Issue
Block a user