File tree Expand file tree Collapse file tree 2 files changed +7
-13
lines changed
app/Livewire/Project/Shared/Storages
resources/views/livewire/project/shared/storages Expand file tree Collapse file tree 2 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 4
4
5
5
use App \Models \LocalPersistentVolume ;
6
6
use Livewire \Component ;
7
- use Visus \Cuid2 \Cuid2 ;
8
7
9
8
class Show extends Component
10
9
{
11
10
public LocalPersistentVolume $ storage ;
12
11
13
12
public bool $ isReadOnly = false ;
14
13
15
- public ?string $ modalId = null ;
16
-
17
14
public bool $ isFirst = true ;
18
15
19
16
public bool $ isService = false ;
@@ -32,11 +29,6 @@ class Show extends Component
32
29
'host_path ' => 'host ' ,
33
30
];
34
31
35
- public function mount ()
36
- {
37
- $ this ->modalId = new Cuid2 (7 );
38
- }
39
-
40
32
public function submit ()
41
33
{
42
34
$ this ->validate ();
Original file line number Diff line number Diff line change 15
15
<x-forms .input id =" storage.host_path" readonly helper =" Directory on the host system."
16
16
label =" Source Path"
17
17
helper =" Warning: Changing the source path after the initial start could cause problems. Only use it when you know what are you doing." />
18
+ <x-forms .input id =" storage.mount_path" label =" Destination Path"
19
+ helper =" Directory inside the container." required readonly />
18
20
@else
19
21
<x-forms .input id =" storage.host_path" helper =" Directory on the host system." label =" Source Path"
20
22
helper =" Warning: Changing the source path after the initial start could cause problems. Only use it when you know what are you doing." />
23
+ <x-forms .input id =" storage.mount_path" label =" Destination Path"
24
+ helper =" Directory inside the container." required readonly />
25
+ <x-forms .button type =" submit" >
26
+ Update
27
+ </x-forms .button >
21
28
@endif
22
- <x-forms .input id =" storage.mount_path" label =" Destination Path" helper =" Directory inside the container."
23
- required readonly />
24
- <x-forms .button type =" submit" >
25
- Update
26
- </x-forms .button >
27
29
@else
28
30
<x-forms .input id =" storage.name" required readonly />
29
31
<x-forms .input id =" storage.host_path" readonly />
You can’t perform that action at this time.
0 commit comments