mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
share link: fix regression with expiration toggle (#5577)
* share link: fix regression with expiration toggle * remove old method
This commit is contained in:
parent
b26991014c
commit
01d0f777c0
@ -127,11 +127,7 @@ export class ShareDialogComponent implements OnInit, OnDestroy {
|
||||
this.onDestroy$.complete();
|
||||
}
|
||||
|
||||
removeShare() {
|
||||
this.deleteSharedLink(this.sharedId);
|
||||
}
|
||||
|
||||
onSlideShareChange(event: any) {
|
||||
onSlideShareChange(event: MatSlideToggleChange) {
|
||||
if (event.checked) {
|
||||
this.createSharedLinks(this.data.node.entry.id);
|
||||
} else {
|
||||
@ -154,6 +150,7 @@ export class ShareDialogComponent implements OnInit, OnDestroy {
|
||||
this.time.enable();
|
||||
} else {
|
||||
this.time.disable();
|
||||
this.time.setValue(null);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user