Skip to content

Commit

Permalink
[ui] Squashing Ember deprecations (#22424)
Browse files Browse the repository at this point in the history
* Now that message is a gettable on the task-event model, no longer needs to be attrs-set at serializer

* xstate future-proofing default prop
  • Loading branch information
philrenaud authored Jun 19, 2024
1 parent cfeedd0 commit 81d4f36
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions ui/app/machines/evaluations.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { assign, createMachine, send } from 'xstate';
// Docs on using statecharts: https://xstate.js.org/docs/packages/xstate-fsm/#api
export default createMachine(
{
predictableActionArguments: true,
id: 'evaluations_ui',
context: { evaluation: null },
type: 'parallel',
Expand Down
4 changes: 0 additions & 4 deletions ui/app/serializers/task-event.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,5 @@ import classic from 'ember-classic-decorator';

@classic
export default class TaskEventSerializer extends ApplicationSerializer {
attrs = {
message: 'DisplayMessage',
};

separateNanos = ['Time'];
}

0 comments on commit 81d4f36

Please sign in to comment.