ui: fix previews to preview

This commit is contained in:
Andras Bacsai 2023-09-29 14:26:19 +02:00
parent bdcc0c8de5
commit 77037f8933
3 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@
id="is_auto_deploy_enabled" label="Auto Deploy" />
<x-forms.checkbox
helper="Allow to automatically deploy Preview Deployments for all opened PR's.<br><br>Closing a PR will delete Preview Deployments."
instantSave id="is_preview_deployments_enabled" label="Previews Deployments" />
instantSave id="is_preview_deployments_enabled" label="Preview Deployments" />
<x-forms.checkbox instantSave id="is_git_submodules_enabled" label="Git Submodules"
helper="Allow Git Submodules during build process." />

View File

@ -1,6 +1,6 @@
<form wire:submit.prevent='submit'>
<div class="flex items-center gap-2">
<h2>Previews Deployments</h2>
<h2>Preview Deployments</h2>
<x-forms.button type="submit">Save</x-forms.button>
<x-forms.button wire:click="resetToDefault">Reset template to default</x-forms.button>
</div>

View File

@ -22,7 +22,7 @@
</a>
@if ($application->git_based())
<a :class="activeTab === 'previews' && 'text-white'"
@click.prevent="activeTab = 'previews'; window.location.hash = 'previews'" href="#">Previews
@click.prevent="activeTab = 'previews'; window.location.hash = 'previews'" href="#">Preview
Deployments
</a>
@endif