refactor(ui): remove unnecessary step3ButtonText attributes from modal confirmation components for cleaner code
This commit is contained in:
@@ -7,5 +7,5 @@
|
||||
<x-modal-confirmation title="Confirm Resource Deletion?" buttonTitle="Delete" isErrorButton submitAction="delete"
|
||||
buttonTitle="Delete" :checkboxes="$checkboxes" :actions="['Permanently delete all containers of this resource.']" confirmationText="{{ $resourceName }}"
|
||||
confirmationLabel="Please confirm the execution of the actions by entering the Resource Name below"
|
||||
shortConfirmationLabel="Resource Name" step3ButtonText="Confirm" />
|
||||
shortConfirmationLabel="Resource Name" />
|
||||
</div>
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
'This will stop the all running applications on this server and remove it as a deployment destination.',
|
||||
]" confirmationText="{{ data_get($destination, 'server.name') }}"
|
||||
confirmationLabel="Please confirm the execution of the actions by entering the Server Name below"
|
||||
shortConfirmationLabel="Server Name" step3ButtonText="Confirm" />
|
||||
shortConfirmationLabel="Server Name" />
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
'If the persistent storage/volume is actvily used by a resource data will be lost.',
|
||||
]" confirmationText="{{ $storage->name }}"
|
||||
confirmationLabel="Please confirm the execution of the actions by entering the Storage Name below"
|
||||
shortConfirmationLabel="Storage Name" step3ButtonText="Confirm" />
|
||||
shortConfirmationLabel="Storage Name" />
|
||||
</div>
|
||||
@endif
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user