We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 102dd6b commit 38d9140Copy full SHA for 38d9140
app/Livewire/Project/Shared/EnvironmentVariable/Show.php
@@ -24,6 +24,7 @@ class Show extends Component
24
public string $type;
25
26
protected $listeners = [
27
+ 'refresh' => 'refresh',
28
'compose_loaded' => '$refresh',
29
];
30
@@ -46,6 +47,12 @@ class Show extends Component
46
47
'env.is_shown_once' => 'Shown Once',
48
49
50
+ public function refresh()
51
+ {
52
+ $this->env->refresh();
53
+ $this->checkEnvs();
54
+ }
55
+
56
public function mount()
57
{
58
if ($this->env->getMorphClass() === 'App\Models\SharedEnvironmentVariable') {
0 commit comments