-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSCEXAM-1356 Add shortens to exam list #1172
Conversation
c82d809
to
0e2e344
Compare
@@ -22,6 +22,7 @@ export class TableSortComponent { | |||
@Input() predicate = ''; | |||
@Input() text = ''; | |||
@Input() reverse = false; | |||
@Input() sliced: boolean | string = false; | |||
|
|||
getSortClass = () => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Miksi tämä on jompaa kumpaa tyyppiä?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Miulla se typescript kieltäyty buildaamasta pelkällä booleanilla. Tää ei oo hyvä ratkasu, mut sillä se buildas.
HTML filussa oli insert sliced="{{true}}" ja typescript ei hyväksyny sitä booleaniks..
@@ -38,6 +38,7 @@ | |||
<xm-table-sort | |||
by="course.code" | |||
text="i18n_course_code" | |||
sliced="{{ true }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[sliced]="true" kenties?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Luulisi, että tuo voisi olla boolean-only?
91a3ef7
to
4524d82
Compare
No description provided.