Added preliminary files modal; fixed tabs scroll issue; fixed missing build deps
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
.display-contents {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
.tab {
|
||||
display: flex;
|
||||
overflow: auto;
|
||||
float: left;
|
||||
margin-right: 2em;
|
||||
font-size: 0.2em;
|
||||
|
@@ -4,6 +4,7 @@
|
||||
cdkDropListOrientation="horizontal"
|
||||
(cdkDropListDropped)="dropped($event)"
|
||||
(click)="handleAction($event)"
|
||||
class="display-contents"
|
||||
>
|
||||
|
||||
<div *ngFor="let tab of tabs"
|
||||
|
@@ -21,7 +21,7 @@ import { ServiceMessage } from '../../common/types/service-message.type';
|
||||
templateUrl: './tabs.component.html',
|
||||
styleUrl: './tabs.component.css',
|
||||
host: {
|
||||
'class': 'row tabs scroller'
|
||||
'class': 'tabs scroller'
|
||||
}
|
||||
})
|
||||
export class TabsComponent {
|
||||
@@ -42,8 +42,9 @@ export class TabsComponent {
|
||||
this.tabsService.getData$().pipe(
|
||||
takeUntil(this.unsubscribe)
|
||||
).subscribe((data: ServiceMessage) => {
|
||||
if (data.action === "create-tab")
|
||||
if (data.action === "create-tab") {
|
||||
this.createTab(data.message, data.uuid, data.data);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user