Skip to content

Commit e015559

Browse files
committed
feat: remove unused breadcrumb and button elements from DomainConfiguration component
1 parent 5f45bef commit e015559

File tree

1 file changed

+3
-50
lines changed

1 file changed

+3
-50
lines changed

core/ui/src/views/DomainConfiguration.vue

Lines changed: 3 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -5,49 +5,6 @@
55
<template>
66
<div>
77
<cv-grid fullWidth>
8-
<cv-row>
9-
<cv-column>
10-
<cv-breadcrumb
11-
aria-label="breadcrumb"
12-
:no-trailing-slash="true"
13-
class="breadcrumb"
14-
>
15-
<cv-breadcrumb-item>
16-
<cv-link to="/domains">{{ $t("domains.title") }}</cv-link>
17-
</cv-breadcrumb-item>
18-
<cv-breadcrumb-item>
19-
<span>{{
20-
$t("domain_configuration.domain_name_configuration", {
21-
domain: domainName,
22-
})
23-
}}</span>
24-
</cv-breadcrumb-item>
25-
</cv-breadcrumb>
26-
</cv-column>
27-
</cv-row>
28-
<cv-row>
29-
<cv-column :md="4" :xlg="10" class="subpage-title">
30-
<h3>
31-
{{
32-
$t("domain_configuration.domain_name_configuration", {
33-
domain: domainName,
34-
})
35-
}}
36-
</h3>
37-
</cv-column>
38-
<cv-column :md="4" :xlg="6">
39-
<div class="page-toolbar">
40-
<NsButton
41-
kind="tertiary"
42-
size="field"
43-
:icon="Group20"
44-
@click="goToDomainUsersAndGroups()"
45-
class="subpage-toolbar-item"
46-
>{{ $t("domains.users_and_groups") }}</NsButton
47-
>
48-
</div>
49-
</cv-column>
50-
</cv-row>
518
<cv-row>
529
<!-- domain settings -->
5310
<cv-column>
@@ -720,6 +677,9 @@ export default {
720677
IconService,
721678
PageTitleService,
722679
],
680+
props: {
681+
domainName: { type: String, required: true },
682+
},
723683
pageTitle() {
724684
return this.$t("domain_configuration.title");
725685
},
@@ -734,7 +694,6 @@ export default {
734694
isShownPasswordPolicyModal: false,
735695
isShownPasswordWarningModal: false,
736696
isShownEditExternalDomainModal: false,
737-
domainName: "",
738697
hostnameNode: "",
739698
domainNode: "",
740699
policy: {
@@ -1511,12 +1470,6 @@ export default {
15111470
deleteUnconfiguredProviderCompleted() {
15121471
this.listUserDomains();
15131472
},
1514-
goToDomainUsersAndGroups() {
1515-
this.$router.push({
1516-
name: "DomainUsersAndGroups",
1517-
params: { domainName: this.domainName },
1518-
});
1519-
},
15201473
goToUserAdminPage() {
15211474
window.open(
15221475
"https://" +

0 commit comments

Comments
 (0)