mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-15 05:05:57 +08:00
This commit was generated using the ember-native-class-codemod along with a handful of manual updates
10 lines
225 B
JavaScript
10 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);
|
|
}
|
|
}
|