Skip to content

Commit

Permalink
fix(ldap): Update domain configuration and reload event (#809)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl authored and gsanchietti committed Feb 26, 2025
1 parent fa25dcc commit 5f8dd05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export default {
addExternalProviderCompleted() {
// hide modal after validation
this.$emit("hide");
this.$emit("reloadDomains");
},
},
};
Expand Down
3 changes: 2 additions & 1 deletion core/ui/src/views/DomainConfiguration.vue
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@
:isShown="isShownAddExternalProviderModal"
:domain="domain"
@hide="hideAddExternalProviderModal"
@reloadDomains="listUserDomains"
/>
</template>
<!-- delete ldap provider modal -->
Expand Down Expand Up @@ -1103,7 +1104,7 @@ export default {
}
this.currentProvider = provider;

if (this.domain.schema === "ad") {
if (this.domain.schema === "ad" && this.domain.location == "internal") {
this.isShownDeleteSambaProviderModal = true;
} else {
this.isShownDeleteLdapProviderModal = true;
Expand Down

0 comments on commit 5f8dd05

Please sign in to comment.