mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-] update library to use new js-api 3.0.0 (#4097)
This commit is contained in:
committed by
Eugenio Romano
parent
2acd1b4e26
commit
3ef7d3b7ea
@@ -208,16 +208,6 @@
|
||||
</mat-slide-toggle>
|
||||
</p>
|
||||
|
||||
<p class="toggle">
|
||||
<mat-slide-toggle
|
||||
id="adf-switch-share"
|
||||
[color]="'primary'"
|
||||
(change)="toggleAllowShare()"
|
||||
[checked]="allowShare">
|
||||
Allow Share
|
||||
</mat-slide-toggle>
|
||||
</p>
|
||||
|
||||
<p class="toggle">
|
||||
<mat-slide-toggle
|
||||
id="adf-switch-allowsidebar"
|
||||
@@ -274,7 +264,6 @@
|
||||
[allowGoBack]="allowGoBack"
|
||||
[displayName]="displayName"
|
||||
[showToolbar]="showToolbar"
|
||||
[allowShare]="allowShare"
|
||||
[allowPrint]="allowPrint"
|
||||
[allowDownload]="allowDownload"
|
||||
[allowSidebar]="allowSidebar"
|
||||
|
@@ -43,7 +43,6 @@ export class FileViewComponent implements OnInit {
|
||||
openWith = false;
|
||||
allowDownload = true;
|
||||
allowPrint = true;
|
||||
allowShare = true;
|
||||
allowSidebar = true;
|
||||
allowLeftSidebar = true;
|
||||
moreActions = true;
|
||||
@@ -120,10 +119,6 @@ export class FileViewComponent implements OnInit {
|
||||
this.allowPrint = !this.allowPrint;
|
||||
}
|
||||
|
||||
toggleAllowShare() {
|
||||
this.allowShare = !this.allowShare;
|
||||
}
|
||||
|
||||
toggleOpenMoreActions() {
|
||||
this.moreActions = !this.moreActions;
|
||||
}
|
||||
|
Reference in New Issue
Block a user