diff --git a/umap/static/umap/js/modules/rendering/layers/classified.js b/umap/static/umap/js/modules/rendering/layers/classified.js index bf581288..039df186 100644 --- a/umap/static/umap/js/modules/rendering/layers/classified.js +++ b/umap/static/umap/js/modules/rendering/layers/classified.js @@ -88,7 +88,11 @@ const ClassifiedMixin = { }, getColorSchemes: function (classes) { - return this.colorSchemes.filter((scheme) => Boolean(colorbrewer[scheme][classes])) + const found = this.colorSchemes.filter((scheme) => + Boolean(colorbrewer[scheme][classes]) + ) + if (found.length) return found + return [['', translate('Default')]] }, }