+
+
- {{--Thumbnail--}}
-
-@else
-
-
Access Denied - You are not assigned to any Module Package
- management department
-
-@endif
+
+
+
+ @else
+
+
Access Denied - You are not assigned to any Module Package
+ management department
+
+ @endif
@endsection
@push('scripts')
+@endpush
+@push('plugin-scripts')
+
+
+
+
@endpush
\ No newline at end of file
diff --git a/resources/views/administrator/pages/package/group/index.blade.php b/resources/views/administrator/pages/package/group/index.blade.php
index 294fa96..3a49cbb 100644
--- a/resources/views/administrator/pages/package/group/index.blade.php
+++ b/resources/views/administrator/pages/package/group/index.blade.php
@@ -8,7 +8,7 @@
$breadcrumbItems = [
['label' => 'Modules'],
['label' => 'Package vCenter'],
- ['label' => 'Datacenter', 'active' => true],
+ ['label' => 'OS Group', 'active' => true],
];
@endphp
diff --git a/resources/views/components/module/host.blade.php b/resources/views/components/module/host.blade.php
index b6e1942..e7f8108 100644
--- a/resources/views/components/module/host.blade.php
+++ b/resources/views/components/module/host.blade.php
@@ -22,8 +22,10 @@ $selectedHostId = old('module_host_id') ?? ($model?->module_host_id ?? ($model?-
}
window.hostComponentInitialized = true;
- // Initialize Select2
- initSelect2();
+ // Initialize Select2 using global function
+ if (typeof window.initSelect2 === 'function') {
+ window.initSelect2();
+ }
const $datacenter = $('.datacenter_id');
const $host = $('.host_id');
diff --git a/resources/views/components/module/os.blade.php b/resources/views/components/module/os.blade.php
index 4c923ae..d33a7c3 100644
--- a/resources/views/components/module/os.blade.php
+++ b/resources/views/components/module/os.blade.php
@@ -30,8 +30,10 @@ $selectedOsGroupId = old('os_group_id') ?? ($model?->os?->os_group_id ?? null);
}
window.osComponentInitialized = true;
- // Initialize Select2
- initSelect2();
+ // Initialize Select2 using global function
+ if (typeof window.initSelect2 === 'function') {
+ window.initSelect2();
+ }
const $host = $('.host_id');
const $osGroup = $('.os_group_id');
diff --git a/resources/views/livewire/module/vcenter.blade.php b/resources/views/livewire/module/vcenter.blade.php
index 47374c7..b2177a1 100644
--- a/resources/views/livewire/module/vcenter.blade.php
+++ b/resources/views/livewire/module/vcenter.blade.php
@@ -21,7 +21,10 @@
@push('scripts')