File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 77use Livewire \Attributes \Locked ;
88use Rappasoft \LaravelLivewireTables \Exceptions \DataTableConfigurationException ;
99use Rappasoft \LaravelLivewireTables \Traits \Configuration \ComponentConfiguration ;
10- use Rappasoft \LaravelLivewireTables \Traits \Core \QueryStrings \HasQueryString ;
1110use Rappasoft \LaravelLivewireTables \Traits \Helpers \ComponentHelpers ;
1211
1312trait ComponentUtilities
1413{
1514 use ComponentConfiguration,
1615 ComponentHelpers;
17- use HasQueryString;
1816
1917 public array $ table = [];
2018
@@ -86,7 +84,8 @@ public function bootedComponentUtilities(): void
8684
8785 protected function runCoreConfiguration (): void
8886 {
89- if (! $ this ->hasRunConfigure ) {
87+ if (!$ this ->hasRunConfigure )
88+ {
9089 // Fire Lifecycle Hooks for configuring
9190 $ this ->callHook ('configuring ' );
9291 $ this ->callTraitHook ('configuring ' );
@@ -97,7 +96,7 @@ protected function runCoreConfiguration(): void
9796 // Fire Lifecycle Hooks for configured
9897 $ this ->callHook ('configured ' );
9998 $ this ->callTraitHook ('configured ' );
100-
99+
101100 $ this ->hasRunConfigure = true ;
102101
103102 }
Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ trait HasAllTraits
1212 use WithLoadingPlaceholder;
1313 use HasTheme;
1414 use ComponentUtilities,
15- WithQueryString,
1615 WithActions,
1716 WithData,
17+ WithQueryString,
1818 WithColumns,
1919 WithSorting,
2020 WithSearch,
Original file line number Diff line number Diff line change 55use Livewire \Attributes \Locked ;
66use Rappasoft \LaravelLivewireTables \Traits \Configuration \QueryStringConfiguration ;
77use Rappasoft \LaravelLivewireTables \Traits \Helpers \QueryStringHelpers ;
8+ use Rappasoft \LaravelLivewireTables \Traits \Core \QueryStrings \HasQueryString ;
89
910trait WithQueryString
1011{
1112 use QueryStringConfiguration,
1213 QueryStringHelpers;
13-
14+ use HasQueryString;
15+
1416 #[Locked]
1517 public ?bool $ queryStringStatus ;
1618
You can’t perform that action at this time.
0 commit comments