MOBILE-2915 data: Do not show unsupported tags field

main
Pau Ferrer Ocaña 2019-03-27 11:32:20 +01:00
parent d8084bba5c
commit c28b48cc67
2 changed files with 5 additions and 0 deletions

View File

@ -117,6 +117,10 @@ export class AddonModDataSearchPage {
[placeholder]="\'addon.mod_data.authorlastname\' | translate" formControlName="lastname"></ion-input></span>'; [placeholder]="\'addon.mod_data.authorlastname\' | translate" formControlName="lastname"></ion-input></span>';
template = template.replace(replace, render); template = template.replace(replace, render);
// Tags are unsupported right now.
replace = new RegExp('##tags##', 'gi');
template = template.replace(replace, '');
return template; return template;
} }

View File

@ -173,6 +173,7 @@ export class AddonModDataHelperProvider {
comments: database.comments, comments: database.comments,
// Unsupported actions. // Unsupported actions.
tags: false,
delcheck: false, delcheck: false,
export: false export: false
}; };