Laravel-Backpack / CRUD

Build custom admin panels. Fast!
https://backpackforlaravel.com
MIT License
2.99k stars 880 forks source link

dont output the spinner svg when loaded with @basset() #5501

Closed pxpm closed 2 months ago

pxpm commented 2 months ago

Reported in https://github.com/Laravel-Backpack/theme-coreuiv2/issues/37

Since we added support to output SVGs in basset, this spinner started to display in the page.

We probably do something in Tabler to prevent it from showing, but in CoreUI-v2/v4 the spinner displayed under the table.

The solution is to tell Basset to don't output the svg at this time. We will get this asset later with Basset::getUrl() on the datatable script initialization.