Fix for creating a new area 'Attempt to ready property nodelist on null'
This commit is contained in:
parent
27c050dc38
commit
6d9179ed37
@ -96,7 +96,7 @@
|
||||
<label for="nodelist" class="form-label">Nodelist File Name</label>
|
||||
<div class="input-group has-validation">
|
||||
<span class="input-group-text"><i class="bi bi-file-earmark-break-fill"></i></span>
|
||||
<input type="text" class="form-control @error('nodelist') is-invalid @enderror" id="nodelist" placeholder="NODELIST.Z??" name="nodelist" value="{{ old('nodelist',$o->domain->nodelist) }}" @cannot('admin',$o->domain)disabled @endcannot>
|
||||
<input type="text" class="form-control @error('nodelist') is-invalid @enderror" id="nodelist" placeholder="NODELIST.Z??" name="nodelist" value="{{ old('nodelist',$o->domain?->nodelist) }}" @cannot('admin',$o->domain)disabled @endcannot>
|
||||
<span class="invalid-feedback" role="alert">
|
||||
@error('nodelist')
|
||||
{{ $message }}
|
||||
|
Loading…
Reference in New Issue
Block a user