F
Filamentβ€’6mo ago
Jordy

Conditionally hide table summary

I have a report page, where I have a few summaries I summarize the records based on a relation of their product.. mostly custom summarizers, they don't really make sense on the full table tho as there is no 1 single product and relation to query or show Added screen to illustrate
No description
16 Replies
Jordy
JordyOPβ€’6mo ago
was hoping I could just call ->visible() but summaries dont have that available how do I go about this? shamelessly bumping this πŸ™
krekas
krekasβ€’6mo ago
you make a pr to the core with such feature as now there seems to be no checks other then if summary is used
toeknee
toekneeβ€’6mo ago
Jordy submit that PR already boi
Jordy
JordyOPβ€’6mo ago
if it's going to be merged im down.. kek ye ye lemme check source
toeknee
toekneeβ€’6mo ago
Done yet?
Jordy
JordyOPβ€’6mo ago
πŸ˜‚ in the process of checking if its just a copy pasta of the CanBeHidden trait I fear its not :spongebobCry: :KekwCry:
toeknee
toekneeβ€’6mo ago
Can't beleive it's still not done
Jordy
JordyOPβ€’6mo ago
I actually have something working πŸ™ not very happy with 4 ifs tho πŸ˜‚ im sure Dan will judge
toeknee
toekneeβ€’6mo ago
Dan will tear you a new.......
Solution
krekas
krekasβ€’6mo ago
no docs update?
Jordy
JordyOPβ€’6mo ago
imo not really required but will wait what dan thinks about that.. if you need the feature i think its safe to say you're gonna attempt to call ->hidden()
toeknee
toekneeβ€’6mo ago
I don't personallly... just felt like giving you a hard time πŸ˜›
Jordy
JordyOPβ€’6mo ago
πŸ˜‚ your doing a great job at that but I suppose i've helped myself kek
krekas
krekasβ€’6mo ago
If it's a feature it should be documented lol
Jordy
JordyOPβ€’6mo ago
its a bug then :trollface:
Want results from more Discord servers?
Add your server