Attempting to use ListeRecords Tabs in with Standalone Tables with a modified trait
So i setup a simple trait that does the basics and it kind of works. The problem is that on initial page load, the query is happening twice. The second issue is that i have to click a tab twice for it to do the modifier. Seems on the first click it just loads the last query and ive confirmed that with ray, the second one uses the modifier. So how can i avoid it running the table query twice on page load and then having to click twice?
PropertiesTable livewire component
Trait File
`
PropertiesTable livewire component
Trait File
`
Solution
@awcodes https://gist.github.com/MACscr/baaeeddbfe39c85840410c66257596ae. Not perfect, but works quite well for standalone usage of table tabs