Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Add import tab to database configuration view

Andras Bacsai0e5f73365786
diff --git a/resources/views/livewire/project/database/configuration.blade.php b/resources/views/livewire/project/database/configuration.blade.php
index 1486d729f7..28a77d5f8b 100644
--- a/resources/views/livewire/project/database/configuration.blade.php
+++ b/resources/views/livewire/project/database/configuration.blade.php
@@ -39,6 +39,10 @@
window.location.hash = 'resource-limits'"
href="#">Resource Limits
</a>
+ <a :class="activeTab === 'import' && 'text-white'"
+ @click.prevent="activeTab = 'import';
+ window.location.hash = 'import'" href="#">Import
+ </a>
<a :class="activeTab === 'danger' && 'text-white'"
@click.prevent="activeTab = 'danger';
window.location.hash = 'danger'"
@@ -74,6 +78,9 @@
<div x-cloak x-show="activeTab === 'resource-limits'">
<livewire:project.shared.resource-limits :resource="$database" />
</div>
+ <div x-cloak x-show="activeTab === 'import'">
+ <livewire:project.database.import :resource="$database" />
+ </div>
<div x-cloak x-show="activeTab === 'danger'">
<livewire:project.shared.danger :resource="$database" />
</div>