mirror of
https://github.com/discourse/discourse.git
synced 2024-12-30 19:00:11 +08:00
64557c4076
This commit was generated using the ember-native-class-codemod along with a handful of manual updates
11 lines
225 B
JavaScript
11 lines
225 B
JavaScript
import RestModel from "discourse/models/rest";
|
|
|
|
export default class EmailStyle extends RestModel {
|
|
changed = false;
|
|
|
|
setField(fieldName, value) {
|
|
this.set(`${fieldName}`, value);
|
|
this.set("changed", true);
|
|
}
|
|
}
|