1 parent f696ae8 commit 7eb50e1Copy full SHA for 7eb50e1
1 file changed
resources/views/admin/auth-clients/index.blade.php
@@ -144,8 +144,13 @@
144
}).then(response => {
145
this.$refs.createEditAuthClient.hide();
146
this.loading = false;
147
- this.secret = response.data.secret
148
- this.$refs.secretModal.show();
+ if (response.data.secret) {
+ this.secret = response.data.secret
149
+ this.$refs.secretModal.show();
150
+ }
151
+ else {
152
+ this.$refs.authClientList.fetch();
153
154
ProcessMaker.alert(this.$t("The auth client was ") + verb + ".", this.$t("success"))
155
}).catch(error => {
156
this.disabled = false;
0 commit comments