diff options
author | Marco Nassabain <marco.nassabain@hotmail.com> | 2021-03-07 00:23:38 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 23:17:31 +0200 |
commit | 04cf2672c3a06dbaa7792403237e3ec9bbaf5455 (patch) | |
tree | 910b406b0371bfceb6cdcb729166f90acb49a6a9 /js/service | |
parent | 088ebcc63a892f2245c863c647516c0dd8041de7 (diff) |
🎨 Adapt front-end to match new implementation
- remove share-specific code since new solution uses dummy feeds
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'js/service')
-rw-r--r-- | js/service/ItemResource.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/js/service/ItemResource.js b/js/service/ItemResource.js index e0b19152a..fcfd2f28d 100644 --- a/js/service/ItemResource.js +++ b/js/service/ItemResource.js @@ -20,7 +20,6 @@ app.factory('ItemResource', function (Resource, $http, BASE_URL, ITEM_BATCH_SIZE ItemResource.prototype.clear = function () { this.starredCount = 0; - this.sharedCount = 0; this.lowestId = 0; this.highestId = 0; this.fingerprints = {}; @@ -37,10 +36,6 @@ app.factory('ItemResource', function (Resource, $http, BASE_URL, ITEM_BATCH_SIZE this.starredCount = value; break; - case 'shared': - this.sharedCount = value; - break; - default: var self = this; var importValues = []; @@ -82,11 +77,6 @@ app.factory('ItemResource', function (Resource, $http, BASE_URL, ITEM_BATCH_SIZE }; - ItemResource.prototype.getSharedCount = function () { - return this.sharedCount; - }; - - ItemResource.prototype.star = function (itemId, isStarred) { if (isStarred === undefined) { isStarred = true; |