Firebot
Firebot copied to clipboard
<firebot-item-table> errors when sort-tag-context is omitted
Is there an existing issue for this?
- [x] I have searched the existing issues
Current Behavior
When using a firebot-item-table without a sort-tag-context set, a log error is thrown and the sort tag dropdown at the top of the page remains
Expected Behavior
no errors should be thrown and the dropdown should not be rendered
Steps To Reproduce
No response
Version
v5.64.0 & v5.64.1-dev
What operating system are you using Firebot on?
Linux Distro
Relevant log output
[2025-05-03 19:32:49.0461] - [31merror[39m: (Renderer) TypeError: Cannot read properties of undefined (reading 'split')
at $ctrl.$onInit (file:///code/projects/firebot/build/gui/app/directives/misc/firebot-item-table/firebot-item-table.js:53:61)
at /code/projects/firebot/node_modules/angular/angular.js:10653:34
at forEach (/code/projects/firebot/node_modules/angular/angular.js:396:18)
at nodeLinkFn (/code/projects/firebot/node_modules/angular/angular.js:10642:9)
at /code/projects/firebot/node_modules/angular/angular.js:11041:13
at processQueue (/code/projects/firebot/node_modules/angular/angular.js:18075:37)
at /code/projects/firebot/node_modules/angular/angular.js:18123:27
at Scope.$digest (/code/projects/firebot/node_modules/angular/angular.js:19242:15)
at Scope.$apply (/code/projects/firebot/node_modules/angular/angular.js:19630:24)
at done (/code/projects/firebot/node_modules/angular/angular.js:13473:47)
Contact Details (Optional)
No response