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

Check vaccinations in ISIN #333

Merged
merged 6 commits into from
Jun 17, 2021
Merged

Check vaccinations in ISIN #333

merged 6 commits into from
Jun 17, 2021

Conversation

tomaspavlin
Copy link
Contributor

@tomaspavlin tomaspavlin commented Jun 17, 2021

Na FE po najetí na Ano/Ne u Validováno v ISIN zobrazím tooltip s dalším infem.

Otestoval jsem provoláváním api, v tom testovacím prostředí to vždy našlo nějaké proběhlé očkování.

Closes #294

@@ -82,7 +82,8 @@
<app-patient-data-item>
<mat-label>Validováno v ISIN:</mat-label>
<mat-label>
<app-chip [value]="!!patientData.isinId"></app-chip>
<app-chip [value]="!!patientData.isinId && !!patientData.isinReady"
Copy link
Member

Choose a reason for hiding this comment

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

Tady podle me ma byt OR. Pokud nemame id nebo neni ready, chceme ukazovat ze Validovano v ISIN: NE

Copy link
Contributor Author

Choose a reason for hiding this comment

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

!! je negace negace. Když máme isin id && je to ready, ukazujeme ANO

Copy link
Member

Choose a reason for hiding this comment

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

A to jako Angular vyzaduje, kdyz chci pracovat s nejakou boolean, abych udelal negaci negace? patientData.isinReady nefunguje, jo?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ono to může být i null a tímhle se to převede na false

Copy link
Member

Choose a reason for hiding this comment

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

aha, ok. To jsou triky tedy...

Copy link
Member

@tomaskourim tomaskourim left a comment

Choose a reason for hiding this comment

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

A logika je tedy takova, ze isin_ready zkousime jenom manualne, tesne pred ockovanim. Automaticky se to nedela. To je za me ok.

@tomaspavlin tomaspavlin requested a review from tomaskourim June 17, 2021 15:09
@tomaspavlin tomaspavlin merged commit 896a55a into master Jun 17, 2021
@tomaspavlin tomaspavlin deleted the check-vaccinations branch June 17, 2021 15:35
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.

Check vaccination in ISIN
2 participants