-
Notifications
You must be signed in to change notification settings - Fork 7
RO-3008: legge til info tekster under lista #846
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
base: develop
Are you sure you want to change the base?
Conversation
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://victorious-water-056410803-846.westeurope.azurestaticapps.net |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://victorious-water-056410803-846.westeurope.azurestaticapps.net |
gruble
left a comment
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.
| export class ListEndInfoComponent { | ||
| @Input() maxItemsFetched = false; | ||
| @Input() registrationsLength = 0; | ||
| @Input() registrationsCount = 0; |
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.
Jeg skjønner ikke forskjell på registrationsLength og registrationsCount. Får du til å bruke variabelnavn som er mer presise eller dokumentere hva som er hva?
| imports: [IonIcon, TranslatePipe], | ||
| }) | ||
| /** | ||
| * Viser informasjonstekster i bunnen av observasjonslister |
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.
❤️
| <ion-infinite-scroll (ionInfinite)="loadNextPage()" [disabled]="disableInfiniteScroll()"> | ||
| <ion-infinite-scroll-content> </ion-infinite-scroll-content> | ||
| </ion-infinite-scroll> | ||
| <app-list-end-info |
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.


Har lagt til en ny komponent som viser informasjon basert på hvilken tilstand som er aktiv.
Tekstene som vises er:
"Prøv å endre kartutsnitt eller filter for å se flere observasjoner"
"Lista kan kun vise 100 observasjoner, prøv å endre kartutsnitt eller filter for å begrense."
I tillegg er noen ubrukte nøkler fjernet/justert i språkfilene.