diff --git a/octoprint_filamentmanager/static/js/filamentmanager.bundled.js b/octoprint_filamentmanager/static/js/filamentmanager.bundled.js index fbb5107..7cc5f0e 100644 --- a/octoprint_filamentmanager/static/js/filamentmanager.bundled.js +++ b/octoprint_filamentmanager/static/js/filamentmanager.bundled.js @@ -695,7 +695,7 @@ FilamentManager.prototype.viewModels.spools = function spoolsViewModel() { }, vendor: function vendor(a, b) { // sorts ascending - if (a.profile.vendor.toLocaleLowerCase() < b.rofile.vendor.toLocaleLowerCase()) return -1; + if (a.profile.vendor.toLocaleLowerCase() < b.profile.vendor.toLocaleLowerCase()) return -1; if (a.profile.vendor.toLocaleLowerCase() > b.profile.vendor.toLocaleLowerCase()) return 1; return 0; }, diff --git a/static/js/viewmodels/spools.js b/static/js/viewmodels/spools.js index 7414d2a..7a955fd 100644 --- a/static/js/viewmodels/spools.js +++ b/static/js/viewmodels/spools.js @@ -23,7 +23,7 @@ FilamentManager.prototype.viewModels.spools = function spoolsViewModel() { }, vendor(a, b) { // sorts ascending - if (a.profile.vendor.toLocaleLowerCase() < b.rofile.vendor.toLocaleLowerCase()) return -1; + if (a.profile.vendor.toLocaleLowerCase() < b.profile.vendor.toLocaleLowerCase()) return -1; if (a.profile.vendor.toLocaleLowerCase() > b.profile.vendor.toLocaleLowerCase()) return 1; return 0; },