Removed Global Search related code that caused Snap to not build.

Thanks to xet7 !

Related https://github.com/wekan/wekan/pull/3492
This commit is contained in:
Lauri Ojansivu 2021-01-28 01:29:52 +02:00
parent e0576502d9
commit 442a7b0fcd
2 changed files with 1 additions and 6 deletions

View file

@ -480,11 +480,6 @@ BlazeComponent.extendComponent({
});
},
getSearchHref() {
const baseUrl = window.location.href.replace(/([?#].*$|\s*$)/, '');
return `${baseUrl}?q=${encodeURIComponent(this.query.get())}`;
},
searchInstructions() {
tags = {
operator_board: TAPi18n.__('operator-board'),