fix conflict link creation id (#3412)

This commit is contained in:
Eugenio Romano
2018-05-30 13:46:23 +02:00
committed by Denys Vuika
parent bb47e0ce6f
commit 39f76a11c4
4 changed files with 53 additions and 26 deletions

View File

@@ -74,6 +74,7 @@ export class ShareDialogComponent implements OnInit {
this.sharedLinksApiService.createSharedLinks(nodeId).subscribe((sharedLink: SharedLinkEntry) => {
if (sharedLink.entry) {
this.sharedId = sharedLink.entry.id;
this.data.node.entry.properties['qshare:sharedId'] = this.sharedId;
this.isFileShared = true;
this.isDisabled = false;
}