added 260907 version of worker toolkit

This commit is contained in:
2026-09-08 20:30:51 -04:00
parent cbd3f0f8ca
commit 97aca37663
1283 changed files with 142951 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
import Ember from 'ember';
export default Ember.Component.extend({
classNames: ['save-status'],
saveFailed: Ember.computed('record.errors.[]', function() {
let errors = this.get('record.errors');
if (Ember.isPresent(errors)) {
return errors.has('saveFailure');
} else {
return false;
}
}),
saveFailureMessage: Ember.computed('record.errors.[]', function() {
let errors = this.get('record.errors');
return errors.errorsFor('saveFailure').mapBy('message').join(', ');
})
});