feat(web): expand object class icon mapping
Map more TTS classes to icons, including multi-set icons for models and bags, and add a wrap-break-word class fix in the default viewer.
This commit is contained in:
@@ -5,8 +5,8 @@ describe('iconsForObject', () => {
|
||||
it('maps known classes to icons', () => {
|
||||
expect(iconsForObject('Card')).toEqual(['mdi:cards-outline']);
|
||||
expect(iconsForObject('Custom_Model_Bag')).toEqual([
|
||||
'mdi:bag-personal-outline',
|
||||
'mdi:cube-outline',
|
||||
'file-icons:3d-model',
|
||||
'material-symbols:folder',
|
||||
]);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user