mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix mat datetime picker regression
This commit is contained in:
@@ -24,7 +24,7 @@ import { MatTabChangeEvent } from '@angular/material';
|
||||
export class InfoDrawerTabComponent {
|
||||
/** The title of the tab. */
|
||||
@Input()
|
||||
label: string = 'Main tab';
|
||||
label: string = '';
|
||||
|
||||
/** Icon to render for the tab. */
|
||||
@Input()
|
||||
|
@@ -25,6 +25,8 @@
|
||||
"@angular/platform-browser": ">=5.1.1",
|
||||
"@angular/platform-browser-dynamic": ">=5.1.1",
|
||||
"@angular/router": ">=5.1.1",
|
||||
"@mat-datetimepicker/core": "1.0.4",
|
||||
"@mat-datetimepicker/moment": "1.0.4",
|
||||
"alfresco-js-api": "2.5.0-beta2",
|
||||
"rxjs": ">=6.2.2",
|
||||
"@ngx-translate/core": "^10.0.2",
|
||||
|
@@ -348,7 +348,7 @@ export class ViewerComponent implements OnChanges, OnInit, OnDestroy {
|
||||
this.mimeType = data.content.mimeType;
|
||||
}
|
||||
|
||||
this.displayName = data.name;
|
||||
this.displayName = this.getDisplayName(data.name);
|
||||
|
||||
this.urlFileContent = this.apiService.contentApi.getContentUrl(data.id);
|
||||
this.urlFileContent = this.cacheBusterNumber ? this.urlFileContent + '&' + this.cacheBusterNumber : this.urlFileContent;
|
||||
|
Reference in New Issue
Block a user