Deck Card Rendering

  • 1
  • Idea
  • Updated 1 year 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

  • 44,396 Points 20k badge 2x thumb

Posted 1 year ago

  • 1
Photo of Pat Vachon

Pat Vachon, Champion

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

Photo of Bill McCullough

Bill McCullough, Champion

  • 13,492 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

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