MOBILE-2915 data: Do not show unsupported tags field
parent
d8084bba5c
commit
c28b48cc67
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue