Fix up to date display

This commit is contained in:
Eric Reed 2013-02-28 15:00:17 -05:00
parent 7cacbeee7b
commit 059898d5bd
2 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ namespace MediaBrowser.ServerApplication
var version = Kernel.InstallationManager.GetLatestCompatibleVersion(availablePackages, "MBServer", Kernel.Configuration.SystemUpdateLevel);
return version != null ? new CheckForUpdateResult {AvailableVersion = version.version, IsUpdateAvailable = version.version > ApplicationVersion, Package = version} :
new CheckForUpdateResult();
new CheckForUpdateResult {AvailableVersion = ApplicationVersion, IsUpdateAvailable = false};
}
/// <summary>

View File

@ -306,7 +306,7 @@
ApiClient.getAvailableApplicationUpdate().done(function (packageInfo) {
var version = packageInfo.versions[0];
var version = packageInfo[0];
if (!version) {
$('#pUpToDate', page).show();