diff --git a/client/extensions/orangelogic-extension/src/search-panel-widget.tsx b/client/extensions/orangelogic-extension/src/search-panel-widget.tsx index 9bcb991b..e4cbd07f 100644 --- a/client/extensions/orangelogic-extension/src/search-panel-widget.tsx +++ b/client/extensions/orangelogic-extension/src/search-panel-widget.tsx @@ -1,5 +1,6 @@ import * as React from 'react'; import {ISearchPanelWidgetProps, ISuperdesk} from 'superdesk-api'; +import {CheckboxButton, Spacer} from 'superdesk-ui-framework/react'; type IMediaType = 'Image' | 'Video'; @@ -51,15 +52,13 @@ export const searchPanelWidgetFactory = ( return (
-
- - {mediaTypes.map((type) => ( - - ))} -
+
+ + {mediaTypes.map((type, i) => ( + this.toggleMediaType(type.type)} /> + ))} + +