summaryrefslogtreecommitdiffstats
path: root/core/js/shareitemmodel.js
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-09-04 15:31:45 +0200
committerVincent Petry <pvince81@owncloud.com>2015-09-16 07:23:27 +0200
commit858a2a4e6c42f8cc68212439930c16029a6bba36 (patch)
tree02f1c4e0acd23d9fdd3ccc4ded40c5c92d3218b0 /core/js/shareitemmodel.js
parentce1b0c650e3a0e4cb701609ee08a13182909219a (diff)
downloadnextcloud-server-858a2a4e6c42f8cc68212439930c16029a6bba36.tar.gz
nextcloud-server-858a2a4e6c42f8cc68212439930c16029a6bba36.zip
display expiration info
Diffstat (limited to 'core/js/shareitemmodel.js')
-rw-r--r--core/js/shareitemmodel.js7
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;