Apply suggestions from code review of branch reset-to-default

Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
This commit is contained in:
Julian Stirling 2026-07-02 08:43:37 +00:00
parent 697a121275
commit f89c4795ab
2 changed files with 5 additions and 5 deletions

View file

@ -306,7 +306,7 @@ export default {
return this.dataSchema.minimum;
},
/**
* Is changed from default (or has no default set)
* Is the value changed from default (If no default is set this returns false)
*/
isChangedFomDefault() {
if (this.dataSchema.default === undefined) return false;