Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Remove subtitle from node name when edit mode - MEED-6833 - Meeds-io/MIPs#137 #131

Merged
merged 1 commit into from
Jun 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@
<span class="text-color font-weight-bold text-start mr-6 text-truncate-2 v-label">
{{ $t('siteNavigation.label.nodeId.title') }}
</span>
<p
v-if="nodeId && nodeId.length"
class="caption text-break mx-auto text-wrap text-left mb-0">
{{ nodeUrl }}
</p>
</div>
<v-switch
v-model="displayNodeName"
Expand Down Expand Up @@ -297,10 +292,6 @@ export default {
displayNextBtn() {
return this.editMode ? this.nodeType === 'pageOrLink' && !this.navigationNode.pageKey : this.nodeType === 'pageOrLink';
},
nodeUrl() {
const nodeuri = `${this.$t('siteNavigation.label.nodeId.description')}${this.parentNavigationNodeUrl}`;
return this.editMode ? nodeuri : `${nodeuri}/${this.nodeId}` ;
}
},
created() {
this.$root.$on('open-site-navigation-add-node-drawer', this.open);
Expand Down
Loading