Skip to content

Commit 6cd3245

Browse files
committed
Remove truncatechars
1 parent 0660fa7 commit 6cd3245

4 files changed

Lines changed: 14 additions & 19 deletions

File tree

src/app/elements/content/content-tab/content-tab.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
>
88
<span *ngIf="view.name && !view.editable" [title]="view.name" class="tab-title">
99
<i [ngClass]="iconCls" class="view_icon"></i>
10-
<span class="tab-text">{{ view.name | truncatechars:16 }}</span>
10+
<span class="tab-text">{{ view.name }}</span>
1111
</span>
1212
<input #inputElement
1313
(blur)="onBlur()"

src/app/elements/content/content-tab/content-tab.component.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,19 @@ li {
4444
gap:4px;
4545
color: #cacaca;
4646
font-size: 13px;
47+
max-width: 164px;
4748
cursor: pointer;
4849

50+
.tab-text{
51+
overflow: hidden;
52+
white-space: nowrap;
53+
text-overflow: ellipsis;
54+
}
55+
4956
.view_icon {
5057
margin-right: 5px;
5158
font-style: normal;
5259

53-
.tab-text{
54-
min-width: 0;
55-
overflow: hidden;
56-
white-space: nowrap;
57-
text-overflow: ellipsis;
58-
}
59-
6060
&::before {
6161
display: inline-block;
6262
color: var(--el-icon-color);

src/app/elements/content/content-window/koko/koko.component.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,10 @@ export class ElementConnectorKokoComponent implements OnInit {
165165
});
166166

167167
if (this.protocol === 'k8s') {
168-
// return (this.iframeURL = `${this.baseUrl}/k8s/?` + query);
169-
return (this.iframeURL = `http://localhost:9530/koko/k8s/?` + query);
168+
return (this.iframeURL = `${this.baseUrl}/k8s/?` + query);
170169
}
171170

172-
// this.iframeURL = `${this.baseUrl}/connect/?` + query;
173-
this.iframeURL = `http://localhost:9530/koko/connect/?` + query;
171+
this.iframeURL = `${this.baseUrl}/connect/?` + query;
174172
}
175173

176174
generateFileManagerURL() {

src/app/router.module.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,18 @@ const appRoutes: Routes = [
1616
},
1717
{
1818
path: 'connect',
19-
component: PagesConnectComponent
20-
// loadComponent: () =>
21-
// import('./pages/connect/connect.component').then(m => m.PagesConnectComponent)
19+
loadComponent: () =>
20+
import('./pages/connect/connect.component').then(m => m.PagesConnectComponent)
2221
},
2322
{ path: 'undefined', component: PagesBlankComponent },
2423
{ path: 'share/:id', component: PagesShareComponent },
2524
{
2625
path: 'replay/:sid',
27-
component: PagesReplayComponent
28-
// loadComponent: () => import('./pages/replay/replay.component').then(m => m.PagesReplayComponent)
26+
loadComponent: () => import('./pages/replay/replay.component').then(m => m.PagesReplayComponent)
2927
},
3028
{
3129
path: 'admin-connect',
32-
component: PageDirectComponent
33-
// loadComponent: () => import('./pages/direct/direct.component').then(m => m.PageDirectComponent)
30+
loadComponent: () => import('./pages/direct/direct.component').then(m => m.PageDirectComponent)
3431
},
3532
{
3633
path: 'monitor/:sid',

0 commit comments

Comments
 (0)