From 04cf2672c3a06dbaa7792403237e3ec9bbaf5455 Mon Sep 17 00:00:00 2001 From: Marco Nassabain Date: Sun, 7 Mar 2021 00:23:38 +0100 Subject: =?UTF-8?q?=F0=9F=8E=A8=20Adapt=20front-end=20to=20match=20new=20i?= =?UTF-8?q?mplementation=20-=20remove=20share-specific=20code=20since=20ne?= =?UTF-8?q?w=20solution=20uses=20dummy=20feeds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marco Nassabain --- js/service/ItemResource.js | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'js/service') 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; -- cgit v1.2.3