Skip to content

Commit 952cd79

Browse files
committed
minors
1 parent cbb7c79 commit 952cd79

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

services/static-webserver/client/source/class/osparc/dashboard/SearchBarFilter.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,8 @@ qx.Class.define("osparc.dashboard.SearchBarFilter", {
344344
});
345345
searchBarFilterProjects.set({
346346
width: bounds.width,
347-
})
347+
});
348+
return searchBarFilterProjects;
348349
},
349350

350351
__addChip: function(type, id, label) {

services/static-webserver/client/source/class/osparc/dashboard/SearchBarFilterExtended.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
************************************************************************ */
1717

1818
qx.Class.define("osparc.dashboard.SearchBarFilterExtended", {
19-
extend: osparc.filter.UIFilter,
19+
extend: qx.ui.core.Widget,
2020

2121
construct: function(sourceSearchBarFilter, resourceType) {
2222
this.__sourceSearchBarFilter = sourceSearchBarFilter;
@@ -178,21 +178,21 @@ qx.Class.define("osparc.dashboard.SearchBarFilterExtended", {
178178
},
179179

180180
__searchMyProjectsSelected: function() {
181-
this.getChildControl("search-bar-filter").getChildControl("text-field").setPlaceholder(this.tr("Search My projects"));
181+
this.getChildControl("search-bar-filter").getChildControl("text-field").setPlaceholder(this.tr("Search in My projects"));
182182

183183
this.getChildControl("shared-with-button").setVisibility("visible");
184184
this.getChildControl("tags-button").setVisibility("visible");
185185
},
186186

187187
__searchTemplatesSelected: function() {
188-
this.getChildControl("search-bar-filter").getChildControl("text-field").setPlaceholder(this.tr("Search Templates"));
188+
this.getChildControl("search-bar-filter").getChildControl("text-field").setPlaceholder(this.tr("Search in Templates"));
189189

190190
this.getChildControl("shared-with-button").setVisibility("excluded");
191191
this.getChildControl("tags-button").setVisibility("visible");
192192
},
193193

194194
__searchPublicProjectsSelected: function() {
195-
this.getChildControl("search-bar-filter").getChildControl("text-field").setPlaceholder(this.tr("Search Public projects"));
195+
this.getChildControl("search-bar-filter").getChildControl("text-field").setPlaceholder(this.tr("Search in Public projects"));
196196

197197
this.getChildControl("shared-with-button").setVisibility("excluded");
198198
this.getChildControl("tags-button").setVisibility("visible");

0 commit comments

Comments
 (0)