mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 05:25:49 +01:00
#2200 actually fix dupe colors, show 10 topics
This commit is contained in:
@@ -367,7 +367,7 @@ define('admin/general/dashboard', ['semver'], function(semver) {
|
||||
var tid = segments[i].tid;
|
||||
|
||||
if ($.inArray(tid, tids) === -1) {
|
||||
usedTopicColors.splice($.inArray(segments[i].color, usedTopicColors), 1);
|
||||
usedTopicColors.splice($.inArray(segments[i].fillColor, usedTopicColors), 1);
|
||||
graphs.topics.removeData(i);
|
||||
} else {
|
||||
graphs.topics.segments[i].value = topics[tid].value;
|
||||
|
||||
Reference in New Issue
Block a user