feat: move resources between projects / environments

This commit is contained in:
Andras Bacsai
2024-01-22 15:12:38 +01:00
parent cbec39099a
commit 2edf71a0dd
7 changed files with 228 additions and 128 deletions

View File

@@ -44,7 +44,9 @@
window.location.hash = 'resource-limits'"
href="#">Resource Limits
</a>
<a :class="activeTab === 'move' && 'text-white'"
@click.prevent="activeTab = 'move'; window.location.hash = 'move'" href="#">Move Resource
</a>
<a :class="activeTab === 'danger' && 'text-white'"
@click.prevent="activeTab = 'danger';
window.location.hash = 'danger'"
@@ -83,6 +85,9 @@
<div x-cloak x-show="activeTab === 'import'">
<livewire:project.database.import :resource="$database" />
</div>
<div x-cloak x-show="activeTab === 'move'">
<livewire:project.shared.move-resource :resource="$database" />
</div>
<div x-cloak x-show="activeTab === 'danger'">
<livewire:project.shared.danger :resource="$database" />
</div>