Skip to content
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

Merged
merged 5 commits into from
Oct 25, 2024
Merged

CSCEXAM-1356 Add shortens to exam list #1172

merged 5 commits into from
Oct 25, 2024

Conversation

VirmasaloA
Copy link
Collaborator

No description provided.

@@ -22,6 +22,7 @@ export class TableSortComponent {
@Input() predicate = '';
@Input() text = '';
@Input() reverse = false;
@Input() sliced: boolean | string = false;

getSortClass = () =>
Copy link
Collaborator

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ä?

Copy link
Collaborator Author

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 }}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[sliced]="true" kenties?

Copy link
Collaborator

@lupari lupari left a 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?

@VirmasaloA VirmasaloA merged commit dbb56da into dev Oct 25, 2024
5 checks passed
@VirmasaloA VirmasaloA deleted the CSCEXAM-1356 branch October 25, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants