Skip to content

Commit

Permalink
refactor: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloBar1 committed Feb 7, 2024
1 parent 6290f22 commit 557bf14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions cosmoz-treenode-button-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { html } from '@polymer/polymer/lib/utils/html-tag';
import '@neovici/cosmoz-dialog';
import { Tree } from '@neovici/cosmoz-tree';
import { translatable } from '@neovici/cosmoz-i18next';

import './cosmoz-treenode-navigator';
import { getNode, getTreePathParts } from './helpers';
/**
Expand Down Expand Up @@ -342,7 +341,7 @@ class CosmozTreenodeButtonView extends translatable(PolymerElement) {
const labels = pathParts
.filter((n) => n)
.map((part) => part[this.tree.searchProperty]);

console.log(labels);
return labels.join('/');
}
/**
Expand Down
2 changes: 2 additions & 0 deletions cosmoz-treenode-navigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ import {
import styles from './cosmoz-treenode-navigator.styles';
import '@neovici/cosmoz-treenode';

customElements.get('cosmoz-treenode');

const TreenodeNavigator = (host) => {
const {
/**
Expand Down

0 comments on commit 557bf14

Please sign in to comment.