File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,12 @@ All notable changes to `laravel-livewire-tables` will be documented in this file
4
4
5
5
## [ Unreleased]
6
6
7
+ ## [ 0.1.5] - 2020-05-26
8
+
9
+ ### Changed
10
+
11
+ - Use constructor instead of mount so that the child classes have access to a mount method that they can accept parameters in.
12
+
7
13
## [ 0.1.4] - 2020-05-24
8
14
9
15
### Changed
@@ -34,7 +40,8 @@ All notable changes to `laravel-livewire-tables` will be documented in this file
34
40
35
41
- Initial release
36
42
37
- [ Unreleased ] : https://github.com/rappasoft/laravel-livewire-tables/compare/v0.1.4...development
43
+ [ Unreleased ] : https://github.com/rappasoft/laravel-livewire-tables/compare/v0.1.5...development
44
+ [ 0.1.5 ] : https://github.com/rappasoft/laravel-livewire-tables/compare/v0.1.4...v0.1.5
38
45
[ 0.1.4 ] : https://github.com/rappasoft/laravel-livewire-tables/compare/v0.1.3...v0.1.4
39
46
[ 0.1.3 ] : https://github.com/rappasoft/laravel-livewire-tables/compare/v0.1.2...v0.1.3
40
47
[ 0.1.2 ] : https://github.com/rappasoft/laravel-livewire-tables/compare/v0.1.1...v0.1.2
Original file line number Diff line number Diff line change @@ -49,10 +49,16 @@ abstract class TableComponent extends Component
49
49
public $ refresh = false ;
50
50
51
51
/**
52
- * Constructor.
52
+ * Use constructor instead of mount so that the child classes have access to a mount method that they can accept parameters in.
53
+ *
54
+ * TableComponent constructor.
55
+ *
56
+ * @param $id
53
57
*/
54
- public function mount ( )
58
+ public function __construct ( $ id )
55
59
{
60
+ parent ::__construct ($ id );
61
+
56
62
$ this ->setTranslationStrings ();
57
63
}
58
64
You can’t perform that action at this time.
0 commit comments