chore: Update deployment index.blade.php script for better performance
This commit is contained in:
parent
a8c3a2d991
commit
e26f4ce707
@ -105,12 +105,9 @@ class="w-6 h-6" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
@endforelse
|
||||
|
||||
@if ($deployments_count > 0)
|
||||
@assets
|
||||
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/utc.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/plugin/relativeTime.js"></script>
|
||||
@endassets
|
||||
@script
|
||||
<script>
|
||||
function goto(url) {
|
||||
window.location.href = url;
|
||||
@ -145,8 +142,6 @@ function goto(url) {
|
||||
}
|
||||
}))
|
||||
</script>
|
||||
@endscript
|
||||
@endif
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user