File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
services/static-webserver/client/source/class/osparc/dashboard Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -1121,7 +1121,14 @@ qx.Class.define("osparc.dashboard.CardBase", {
11211121 _shouldApplyFilter : function ( data ) {
11221122 let filterId = "searchBarFilter" ;
11231123 if ( this . isPropertyInitialized ( "resourceType" ) ) {
1124- filterId += "-" + this . getResourceType ( ) ;
1124+ switch ( this . getResourceType ( ) ) {
1125+ case "hypertool" :
1126+ filterId += "-service" ;
1127+ break ;
1128+ default :
1129+ filterId += "-" + this . getResourceType ( ) ;
1130+ break ;
1131+ }
11251132 }
11261133 data = filterId in data ? data [ filterId ] : data ;
11271134 if ( this . _filterText ( data . text ) ) {
@@ -1145,7 +1152,14 @@ qx.Class.define("osparc.dashboard.CardBase", {
11451152 _shouldReactToFilter : function ( data ) {
11461153 let filterId = "searchBarFilter" ;
11471154 if ( this . isPropertyInitialized ( "resourceType" ) ) {
1148- filterId += "-" + this . getResourceType ( ) ;
1155+ switch ( this . getResourceType ( ) ) {
1156+ case "hypertool" :
1157+ filterId += "-service" ;
1158+ break ;
1159+ default :
1160+ filterId += "-" + this . getResourceType ( ) ;
1161+ break ;
1162+ }
11491163 }
11501164 data = filterId in data ? data [ filterId ] : data ;
11511165 if ( data . text && data . text . length > 1 ) {
You can’t perform that action at this time.
0 commit comments