diff options
author | Sukanya Pandey <sukapan1@in.ibm.com> | 2020-11-30 15:29:55 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2020-12-03 00:09:12 +0300 |
commit | f125a3d80353936a1d65b3f9fc8c05eec4da230a (patch) | |
tree | fd003d450faa6cc1c12efb5efe580d58c64d9363 | |
parent | 96d9a6aad7f3f0d41f73905af245f3c688647f5d (diff) | |
download | webui-vue-f125a3d80353936a1d65b3f9fc8c05eec4da230a.tar.xz |
Remove page not found error in LDAP
- When adding role groups, the URL was being modified resulting in a 404 response
Signed-off-by: Sukanya Pandey <sukapan1@in.ibm.com>
Change-Id: I0cf2653e83e85bc3bd6eca4a86bb065f8f8dd179
-rw-r--r-- | src/views/AccessControl/Ldap/ModalAddRoleGroup.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/views/AccessControl/Ldap/ModalAddRoleGroup.vue b/src/views/AccessControl/Ldap/ModalAddRoleGroup.vue index b485eadd..b6b77e9e 100644 --- a/src/views/AccessControl/Ldap/ModalAddRoleGroup.vue +++ b/src/views/AccessControl/Ldap/ModalAddRoleGroup.vue @@ -11,7 +11,7 @@ <b-container> <b-row> <b-col sm="8"> - <b-form id="role-group"> + <b-form id="role-group" @submit.prevent="handleSubmit"> <!-- Edit role group --> <template v-if="roleGroup !== null"> <dl class="mb-4"> @@ -63,11 +63,11 @@ </b-col> </b-row> </b-container> - <template #modal-footer="{ ok, cancel }"> + <template #modal-footer="{ cancel }"> <b-button variant="secondary" @click="cancel()"> {{ $t('global.action.cancel') }} </b-button> - <b-button form="role-group" type="submit" variant="primary" @click="ok()"> + <b-button form="role-group" type="submit" variant="primary" @click="onOk"> <template v-if="roleGroup"> {{ $t('global.action.save') }} </template> |