From 6933b0a439714baa6aecbe157f3ea1c71ab743ea Mon Sep 17 00:00:00 2001 From: Patrick Sun Date: Sat, 10 Apr 2021 14:17:57 +1000 Subject: [PATCH] backup of source code before removing vendor directory --- src/app/dashboard/dashboard.component.scss | 2 +- src/app/upload-cards/upload-cards.component.ts | 2 +- src/app/upload-detail/upload-detail.component.ts | 9 +-------- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/app/dashboard/dashboard.component.scss b/src/app/dashboard/dashboard.component.scss index 53c8f57..50db72f 100644 --- a/src/app/dashboard/dashboard.component.scss +++ b/src/app/dashboard/dashboard.component.scss @@ -1,7 +1,7 @@ .container.outer{ width:100%; max-width:100vw; - background: url('./assets/img/body_bg.jpg') no-repeat center center fixed; + background: url('../../assets/img/body_bg.jpg') no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; diff --git a/src/app/upload-cards/upload-cards.component.ts b/src/app/upload-cards/upload-cards.component.ts index b8799d6..88f5de3 100644 --- a/src/app/upload-cards/upload-cards.component.ts +++ b/src/app/upload-cards/upload-cards.component.ts @@ -14,7 +14,7 @@ import {UploadAttachService} from '../service/upload.attach.service'; }) export class UploadCardsComponent implements OnInit { @Input() uploadId: number; - @Input() icon = '../../assets/img/pdf.jpg'; + @Input() icon = ''; @ViewChild('imgBox', {static: true}) imgBox: ImagePopupDialogComponent; public uploadMeta: UploadMetaModel = new UploadMetaModel({}); diff --git a/src/app/upload-detail/upload-detail.component.ts b/src/app/upload-detail/upload-detail.component.ts index 70087f6..b0a46ee 100644 --- a/src/app/upload-detail/upload-detail.component.ts +++ b/src/app/upload-detail/upload-detail.component.ts @@ -36,7 +36,7 @@ export class UploadDetailComponent implements OnInit, AfterViewInit { public PayInSize = '300px'; public fabOffset = { x: '10px', y: this.PayInSize }; - @Input() public currentTab = 0; + public currentTab = 0; public tabText: string[] = ['Preview', 'Content', 'Analysis']; public tabTitle: string[] = this.tabText; @@ -58,13 +58,6 @@ export class UploadDetailComponent implements OnInit, AfterViewInit { this.loadUploadMeta(); this.fabSlideIn(); - // this.changeTabTitle(); - - // this.currentTab=2; - - setTimeout(() => { - this.resizeSplitter = true; - }, 2000); } ngAfterViewInit(): void {