diff --git a/src/components/panels/Machine/UpdatePanel/Entry.vue b/src/components/panels/Machine/UpdatePanel/Entry.vue index d4decf944..a13f7c3e8 100644 --- a/src/components/panels/Machine/UpdatePanel/Entry.vue +++ b/src/components/panels/Machine/UpdatePanel/Entry.vue @@ -285,11 +285,8 @@ export default class UpdatePanelEntry extends Mixins(BaseMixin) { get btnColor() { if (this.isCorrupt || this.isDetached || this.isDirty || !this.isValid) return 'orange' - if ( - this.commitsBehind.length || - (this.localVersion && this.remoteVersion && semver.gt(this.remoteVersion, this.localVersion)) - ) - return 'primary' + if (this.type === 'web' && this.webUpdatable) return 'primary' + if (this.type === 'git_repo' && this.commitsBehind.length) return 'primary' return 'green' }