@@ -235,10 +235,14 @@ qx.Class.define("osparc.dashboard.CardBase", {
235235 addHintFromGids : function ( icon , gids ) {
236236 const groupsStore = osparc . store . Groups . getInstance ( ) ;
237237 const everyoneGroups = groupsStore . getEveryoneGroups ( ) ;
238+ const supportGroup = groupsStore . getSupportGroup ( ) ;
238239 const organizations = groupsStore . getOrganizations ( ) ;
239240 const myGroupId = groupsStore . getMyGroupId ( ) ;
240241
241242 const groups = everyoneGroups . slice ( ) ;
243+ if ( supportGroup ) {
244+ groups . push ( supportGroup ) ;
245+ }
242246 groups . push ( ...Object . values ( organizations ) ) ;
243247 const sharedGrps = [ ] ;
244248 groups . forEach ( group => {
@@ -275,10 +279,14 @@ qx.Class.define("osparc.dashboard.CardBase", {
275279 sharedGrpLabels . push ( "..." ) ;
276280 break ;
277281 }
278- let sharedGrpLabel = sharedGrps [ i ] . getLabel ( ) ;
279- if ( everyoneGroups . includes ( sharedGrps [ i ] ) ) {
282+ const sharedGroup = sharedGrps [ i ] ;
283+ let sharedGrpLabel = sharedGroup . getLabel ( ) ;
284+ if ( everyoneGroups . includes ( sharedGroup ) ) {
280285 sharedGrpLabel = "Public" ;
281286 }
287+ if ( supportGroup && [ supportGroup . getGroupId ( ) ] . includes ( sharedGroup . getGroupId ( ) ) ) {
288+ sharedGrpLabel = supportGroup . getLabel ( ) ;
289+ }
282290 if ( ! sharedGrpLabels . includes ( sharedGrpLabel ) ) {
283291 sharedGrpLabels . push ( sharedGrpLabel ) ;
284292 }
0 commit comments