FIX/FEATURE: don't blow up when can't reach theme's repo, show problem themes on dashboard

This commit is contained in:
OsamaSayegh
2018-09-08 16:24:11 +03:00
committed by Sam
parent ca28548762
commit c7d81e2682
14 changed files with 139 additions and 22 deletions

View File

@ -54,6 +54,13 @@ const Theme = RestModel.extend({
);
},
@computed("remote_theme.last_error_text")
remoteError(errorText) {
if (errorText && errorText.length > 0) {
return errorText;
}
},
getKey(field) {
return `${field.target} ${field.name}`;
},