Skip to content

Commit

Permalink
Update steve-class.js to ensure we have an array returned
Browse files Browse the repository at this point in the history
  • Loading branch information
nwmac authored Jan 25, 2025
1 parent e58529e commit 8432344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/plugins/steve/steve-class.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default class SteveModel extends HybridModel {
* Get all model extensions for this model
*/
get modelExtensions() {
return this.$plugin.getDynamic(EXT_IDS.MODEL_EXTENSION, this.type);
return this.$plugin.getDynamic(EXT_IDS.MODEL_EXTENSION, this.type) || [];
}

cleanForSave(data, forNew) {
Expand Down

0 comments on commit 8432344

Please sign in to comment.