Skip to content

Commit

Permalink
CR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
futa-ikeda committed Sep 23, 2024
1 parent 998de1b commit f59ca6e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 58 deletions.

This file was deleted.

This file was deleted.

16 changes: 7 additions & 9 deletions app/institutions/dashboard/-components/object-list/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@ as |list|>
{{#each @columns as |column|}}
<td>
{{#if (eq column.type 'link')}}
<Institutions::Dashboard::-Components::ObjectList::LinkField
@searchResult={{result}}
@getHref={{column.getHref}}
@getLinkText={{column.getLinkText}}
/>
<OsfLink
@href={{call (fn column.getHref result)}}
@target='_blank'
>
{{call (fn column.getLinkText result)}}
</OsfLink>
{{else if (eq column.type 'doi')}}
<Institutions::Dashboard::-Components::ObjectList::DoiField
@searchResult={{result}}
Expand All @@ -40,10 +41,7 @@ as |list|>
@institution={{@institution}}
/>
{{else}}
<Institutions::Dashboard::-Components::ObjectList::TextField
@searchResult={{result}}
@getterFunction={{column.getValue}}
/>
{{call (fn column.getValue result)}}
{{/if}}
</td>
{{/each}}
Expand Down

This file was deleted.

This file was deleted.

4 changes: 3 additions & 1 deletion ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ module.exports = function(defaults) {
],
},
'ember-composable-helpers': {
only: ['compose', 'contains', 'flatten', 'includes', 'range', 'queue', 'map-by', 'without', 'find-by'],
only: [
'call', 'compose', 'contains', 'find-by', 'flatten', 'includes', 'map-by', 'queue', 'range', 'without',
],
},
fingerprint: {
enabled: true,
Expand Down

0 comments on commit f59ca6e

Please sign in to comment.