summaryrefslogtreecommitdiffstats
path: root/core/js/files/fileinfo.js
diff options
context:
space:
mode:
authorryanwr <ryantwr@gmail.com>2016-10-22 21:26:21 +0100
committerryanwr <ryantwr@gmail.com>2016-10-24 17:55:47 +0100
commit3e96f33995c522106b645908b4537b25536b8a7d (patch)
treec39d09a2e2ddfdc32e0bdba2fffa449055692f38 /core/js/files/fileinfo.js
parent9965a95e3b9aff118fa7a34102e5ac31367ac7e2 (diff)
downloadnextcloud-server-3e96f33995c522106b645908b4537b25536b8a7d.tar.gz
nextcloud-server-3e96f33995c522106b645908b4537b25536b8a7d.zip
Sort favorite files first Issue #1802
Signed-off-by: Ryan Welch <ryantwr@gmail.com>
Diffstat (limited to 'core/js/files/fileinfo.js')
-rw-r--r--core/js/files/fileinfo.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/js/files/fileinfo.js b/core/js/files/fileinfo.js
index 1fc239da47a..7c8e4586448 100644
--- a/core/js/files/fileinfo.js
+++ b/core/js/files/fileinfo.js
@@ -132,7 +132,12 @@
/**
* @type boolean
*/
- hasPreview: true
+ hasPreview: true,
+
+ /**
+ * @type boolean
+ */
+ isFavorite: false
};
if (!OC.Files) {