diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2015-09-04 15:31:45 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-09-16 07:23:27 +0200 |
commit | 858a2a4e6c42f8cc68212439930c16029a6bba36 (patch) | |
tree | 02f1c4e0acd23d9fdd3ccc4ded40c5c92d3218b0 /core/js/shareitemmodel.js | |
parent | ce1b0c650e3a0e4cb701609ee08a13182909219a (diff) | |
download | nextcloud-server-858a2a4e6c42f8cc68212439930c16029a6bba36.tar.gz nextcloud-server-858a2a4e6c42f8cc68212439930c16029a6bba36.zip |
display expiration info
Diffstat (limited to 'core/js/shareitemmodel.js')
-rw-r--r-- | core/js/shareitemmodel.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/js/shareitemmodel.js b/core/js/shareitemmodel.js index e8371e16e0a..24aa5fe344d 100644 --- a/core/js/shareitemmodel.js +++ b/core/js/shareitemmodel.js @@ -20,6 +20,8 @@ * @property {string} token * @property {string|null} password * @property {string} link + * @property {Date} expiration + * @property {number} stime share time */ /** @@ -445,7 +447,10 @@ isLinkShare: true, token: share.token, password: share.share_with, - link: link + link: link, + // currently expiration is only effective for link shares. + expiration: share.expiration, + stime: share.stime }; return share; |