mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 17:48:39 +08:00

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);
|
|
}
|
|
}
|