Skip to content

Commit c28b48c

Browse files
committed
MOBILE-2915 data: Do not show unsupported tags field
1 parent d8084bb commit c28b48c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/addon/mod/data/pages/search/search.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ export class AddonModDataSearchPage {
117117
[placeholder]="\'addon.mod_data.authorlastname\' | translate" formControlName="lastname"></ion-input></span>';
118118
template = template.replace(replace, render);
119119

120+
// Tags are unsupported right now.
121+
replace = new RegExp('##tags##', 'gi');
122+
template = template.replace(replace, '');
123+
120124
return template;
121125
}
122126

src/addon/mod/data/providers/helper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ export class AddonModDataHelperProvider {
173173
comments: database.comments,
174174

175175
// Unsupported actions.
176+
tags: false,
176177
delcheck: false,
177178
export: false
178179
};

0 commit comments

Comments
 (0)