Skip to content

Commit

Permalink
Merge pull request #8263 from stopfstedt/replace_render_modifiers_in_…
Browse files Browse the repository at this point in the history
…curr_inv_sequence_block_header_component

replaces usage of ember-render-modifiers in curr inv sequence block header component.
  • Loading branch information
dartajax authored Dec 11, 2024
2 parents 856b674 + 0e5a4f7 commit 8cd467c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 0 additions & 2 deletions packages/frontend/.lint-todo
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ add|ember-template-lint|no-at-ember-render-modifiers|10|6|10|6|d919d2af254f782c0
add|ember-template-lint|no-at-ember-render-modifiers|11|6|11|6|940005188b476a060b0e5d3f05baea24ba178878|1731542400000|1762646400000|1793750400000|app/components/reports/subject/new/term.hbs
add|ember-template-lint|no-at-ember-render-modifiers|4|2|4|2|23cd787c79c34a628dadb6e96dd4004d42eebb79|1733184000000|1735776000000|1738368000000|app/components/curriculum-inventory/new-sequence-block.hbs
add|ember-template-lint|no-at-ember-render-modifiers|5|2|5|2|77e3831e4ae1b00caee1f808711f2e26ab452a23|1733184000000|1735776000000|1738368000000|app/components/curriculum-inventory/new-sequence-block.hbs
add|ember-template-lint|no-at-ember-render-modifiers|5|2|5|2|c34ed16d221405a625e5c23907f49fd55e6ba231|1733184000000|1735776000000|1738368000000|app/components/curriculum-inventory/sequence-block-header.hbs
add|ember-template-lint|no-at-ember-render-modifiers|6|2|6|2|6236d751dee8e47f88ffd257c6bfcec223f2b91c|1733184000000|1735776000000|1738368000000|app/components/curriculum-inventory/sequence-block-header.hbs
add|ember-template-lint|no-at-ember-render-modifiers|4|2|4|2|e65bc0e9138a1521733c31ef990721569f51eb20|1733184000000|1735776000000|1738368000000|app/components/curriculum-inventory/sequence-block-overview.hbs
add|ember-template-lint|no-at-ember-render-modifiers|5|2|5|2|bd1419d59d5caf1243719b72f63702d3b5bebc07|1733184000000|1735776000000|1738368000000|app/components/curriculum-inventory/sequence-block-overview.hbs
add|ember-template-lint|no-at-ember-render-modifiers|5|2|5|2|23cd787c79c34a628dadb6e96dd4004d42eebb79|1733184000000|1735776000000|1738368000000|app/components/curriculum-inventory/sequence-block-session-manager.hbs
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<div
class="curriculum-inventory-sequence-block-header"
...attributes
data-test-curriculum-inventory-sequence-block-header
{{did-insert this.load @sequenceBlock}}
{{did-update this.load @sequenceBlock}}
...attributes
>
<div class="title" data-test-title>
{{#if @canUpdate}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ export default class CurriculumInventorySequenceBlockHeaderComponent extends Com
@service store;
@tracked @NotBlank() @Length(3, 200) title;

@action
load(element, [sequenceBlock]) {
this.title = sequenceBlock.title;
constructor() {
super(...arguments);
this.title = this.args.sequenceBlock.title;
}

@action
Expand Down

0 comments on commit 8cd467c

Please sign in to comment.