Skip to content

Commit a35d79a

Browse files
authored
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 <[email protected]>
1 parent 7c32bd2 commit a35d79a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

ui/src/views/tools/CreateWebhook.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,10 @@ export default {
325325
closeAction () {
326326
this.$emit('close-action')
327327
},
328-
handleParamUpdate (e) {
329-
this.$refs.dispatchview.timedTestWebhookDelivery()
328+
handleParamUpdate () {
329+
setTimeout(() => {
330+
this.$refs.dispatchview.timedTestWebhookDelivery()
331+
}, 1)
330332
},
331333
handleScopeChange (e) {
332334
if (['Domain', 'Local'].includes(this.form.scope)) {

ui/src/views/tools/TestWebhookDelivery.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export default {
120120
width: 80vw;
121121
122122
@media (min-width: 600px) {
123-
max-width: 95%;
123+
max-width: 550px;
124124
}
125125
}
126126

0 commit comments

Comments
 (0)