ui: fix minor issue with webhook forms (#9335)

- Fix width of Test webhook delivery form
- Fix auto execution of test delivery in create webhook form

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
Abhishek Kumar 2024-07-04 17:31:34 +05:30 committed by GitHub
parent 7c32bd2506
commit a35d79a681
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View File

@ -325,8 +325,10 @@ export default {
closeAction () {
this.$emit('close-action')
},
handleParamUpdate (e) {
this.$refs.dispatchview.timedTestWebhookDelivery()
handleParamUpdate () {
setTimeout(() => {
this.$refs.dispatchview.timedTestWebhookDelivery()
}, 1)
},
handleScopeChange (e) {
if (['Domain', 'Local'].includes(this.form.scope)) {

View File

@ -120,7 +120,7 @@ export default {
width: 80vw;
@media (min-width: 600px) {
max-width: 95%;
max-width: 550px;
}
}