Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
web-et-numerique
web-et-numerique-internet
data.grandlyon.com
web-portal
components
custom-apps
web-app
Commits
57f7345a
Commit
57f7345a
authored
Jan 13, 2021
by
Matthieu Benoist
Browse files
corrects regression on dataset-table component
parent
ff89fe5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/dataset-detail/components/dataset-table/dataset-table.component.html
View file @
57f7345a
...
...
@@ -6,10 +6,10 @@
(keydown.enter)=
"sortBy(key)"
[tabindex]=
"isDisplayed ? 0 : -1"
[attr.role]=
"'columnheader'"
>
<span
class=
"sort-icons"
>
<span
class=
"icon"
>
<span
class=
"fas fa-sort-up"
[ngClass]=
"{'icon-red': sortValue
===
key && sortOrder === 'desc'}"
></span
>
<span
class=
"fas fa-sort-up"
[ngClass]=
"{'icon-red': sortValue
.includes(
key
)
&& sortOrder === 'desc'}"
></span>
</span>
<span
class=
"icon"
>
<span
class=
"fas fa-sort-down"
[ngClass]=
"{'icon-red': sortValue
===
key && sortOrder === 'asc'}"
></span
>
<span
class=
"fas fa-sort-down"
[ngClass]=
"{'icon-red': sortValue
.includes(
key
)
&& sortOrder === 'asc'}"
></span>
</span>
</span>
<span
class=
"column-title"
[ngClass]=
"{'active': sortValue === key}"
>
{{ key }}
</span>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment