Showing
1 changed file
with
3 additions
and
1 deletions
... | ... | @@ -95,8 +95,10 @@ |
95 | 95 | openModal(true, modalParams); |
96 | 96 | }; |
97 | 97 | |
98 | - const handleSuccess = () => { | |
98 | + const handleSuccess = ({ rest }) => { | |
99 | 99 | getSelectOptions(); |
100 | + const { id } = rest; | |
101 | + scriptId.value = id; | |
100 | 102 | }; |
101 | 103 | |
102 | 104 | const handleChange = (value) => { | ... | ... |