summaryrefslogtreecommitdiffstats
path: root/core/js/shareitemmodel.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-07-20 11:22:24 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-07-21 15:02:21 +0200
commit58debbe42c16ee4ab7d36ffc91a53ae953c09021 (patch)
tree1f2e0a7bc16ea5a3462a9f7d947444b01792e13f /core/js/shareitemmodel.js
parente302cadae27ed560960b2b87810023ec4827aa4d (diff)
downloadnextcloud-server-58debbe42c16ee4ab7d36ffc91a53ae953c09021.tar.gz
nextcloud-server-58debbe42c16ee4ab7d36ffc91a53ae953c09021.zip
Tests fixes and design bump
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/js/shareitemmodel.js')
-rw-r--r--core/js/shareitemmodel.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/js/shareitemmodel.js b/core/js/shareitemmodel.js
index 68e55443dd2..241b9c19c0d 100644
--- a/core/js/shareitemmodel.js
+++ b/core/js/shareitemmodel.js
@@ -343,6 +343,13 @@
/**
* @returns {string}
*/
+ getReshareNote: function() {
+ return this.get('reshare').note;
+ },
+
+ /**
+ * @returns {string}
+ */
getReshareWith: function() {
return this.get('reshare').share_with;
},