Deck Card Rendering

  • 2
  • Idea
  • Updated 2 years ago
The deck components has conditional rendering. Components within each card has conditional rendering. The card itself doesn't have conditional rendering. Would be nice to have.
Photo of Pat Vachon

Pat Vachon, Champion

  • 46,404 Points 20k badge 2x thumb

Posted 2 years ago

  • 2
Photo of Pat Vachon

Pat Vachon, Champion

  • 46,404 Points 20k badge 2x thumb
Like so. Added a new property for the card.

Photo of Bill McCullough

Bill McCullough, Champion

  • 13,822 Points 10k badge 2x thumb
Pat,

Would you explain how you would use conditional rendering of the card itself versus a model filter.  I am interested in how this would help you.

Thanks,

Bill
Photo of Pat Vachon

Pat Vachon, Champion

  • 46,404 Points 20k badge 2x thumb
Depending on the current users id.