Skip to content

Conversation

@andrasbacsai
Copy link
Member

Changes

  • Initialize $latestVersion in the mount() method of the Upgrade Livewire component

Issues

  • Fixes the upgrade modal displaying "0.0.0" as the target version during upgrades

Details

The upgrade modal was showing incorrect version numbers because $latestVersion was not initialized during component mount. The Blade template rendered before Alpine's x-init could populate the value via checkUpdate(). This fix ensures the version is available at initial render time.

The upgrade modal was displaying "0.0.0" as the target version because
$latestVersion was not initialized during component mount. The Blade
template rendered before Alpine's x-init could populate the value.

Fixed by calling get_latest_version_of_coolify() in mount() to ensure
the version is available at initial render time.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@Cinzya
Copy link
Member

Cinzya commented Dec 26, 2025

fixes #6039

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants