From a656c0853f46e221978645b45ca55c113baafee3 Mon Sep 17 00:00:00 2001 From: 2Abendsegler <2Abendsegler@users.noreply.github.com> Date: Sat, 18 Feb 2023 11:48:15 +0100 Subject: [PATCH 1/2] Unpublished hides in dashboard --- gc_little_helper_II.user.js | 1 - 1 file changed, 1 deletion(-) diff --git a/gc_little_helper_II.user.js b/gc_little_helper_II.user.js index fdccb6d3..5deea982 100644 --- a/gc_little_helper_II.user.js +++ b/gc_little_helper_II.user.js @@ -8845,7 +8845,6 @@ var mainGC = function() { } // Build the list of unpublished caches. function buildCachesList(caches) { - cache_sizes = {'1' : 'unknown', '2' : 'micro', '3' : 'regular', '4' : 'large', '5' : 'virtual', '6' : 'others', '8' : 'small'}; buildListArea(); if (settings_set_showUnpublishedHides_sort) { if (settings_showUnpublishedHides_sort == 'abc') caches.sort(abc); From fbee5a1b51d5876a9757bb655b7423c5c3ffb5c2 Mon Sep 17 00:00:00 2001 From: 2Abendsegler <2Abendsegler@users.noreply.github.com> Date: Sat, 18 Feb 2023 11:49:51 +0100 Subject: [PATCH 2/2] Unpublished hides in dashboard init.js --- data/init.js | 1 + 1 file changed, 1 insertion(+) diff --git a/data/init.js b/data/init.js index 751890ac..e37771b1 100644 --- a/data/init.js +++ b/data/init.js @@ -94,6 +94,7 @@ function collectionInit(c) { {name: 'Strawberry Ice', bg: 'E8A0A6', ht: 'EDD3DC', if: 'E6BABE', bh: 'E2C0CC', bu: 'EDD3DC', bo: 'A66471', nv: 'EDD3DC'}, {name: 'Summer Forest', bg: 'A5C79B', ht: 'B3A382', if: 'C3DBBC', bh: 'A0D191', bu: '92BF84', bo: '15520F', nv: '86C27F'} ]; + c.cache_sizes = {'1' : 'unknown', '2' : 'micro', '3' : 'regular', '4' : 'large', '5' : 'virtual', '6' : 'others', '8' : 'small'}; } function layersInit(c) {