marcokreeft87 / formulaone-card

Present the data of Formula One in a pretty way
MIT License
137 stars 10 forks source link

row_limit doesn't seem to work, but I could have done it wrong? #128

Closed SuHwak closed 1 year ago

SuHwak commented 1 year ago

Description In #125 row_limit was added per my request, but I'm having a difficult time using it.

code sample I've added the following card to my dashboard: type: custom:formulaone-card card_type: constructor_standings title: Constructor Standings standings: show_teamlogo: true row_limit: 3

I also tried this variant: type: custom:formulaone-card card_type: constructor_standings title: Constructor Standings row_limit: 3 standings: show_teamlogo: true

Expected behavior I expect the card only to show the top 3 results of the constructors standing, however the card still shows the full constructor standings list. Same for the drivers standing card

Desktop (please complete the following information):

I am probably doing something wrong...

SuHwak commented 1 year ago

Huh, it now does seem to work for the driver standings card, but not yet for the constructors.

marcokreeft87 commented 1 year ago

You are right! I forget the code in the constructors card. Let me fix that

marcokreeft87 commented 1 year ago

should work in 0.8.2