diff options
author | Phil Hughes <me@iamphill.com> | 2018-04-09 16:05:21 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-04-09 16:05:21 +0100 |
commit | 8fba385e792482850c68050ffe4234d0142b3e20 (patch) | |
tree | d4602d5222669376dd5874c749b643bd4a7ef9bc /app/assets/javascripts/ide/components/repo_tab.vue | |
parent | 3af57c3cbc986a622117e5b722b06db736fd0bf1 (diff) | |
download | gitlab-ce-8fba385e792482850c68050ffe4234d0142b3e20.tar.gz |
updated icons
fixed bug where unstaged file when discarded would not take staged file
changes
Diffstat (limited to 'app/assets/javascripts/ide/components/repo_tab.vue')
-rw-r--r-- | app/assets/javascripts/ide/components/repo_tab.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/ide/components/repo_tab.vue b/app/assets/javascripts/ide/components/repo_tab.vue index 65d203d9392..35a362b01e0 100644 --- a/app/assets/javascripts/ide/components/repo_tab.vue +++ b/app/assets/javascripts/ide/components/repo_tab.vue @@ -32,7 +32,7 @@ export default { return `Close ${this.tab.name}`; }, showChangedIcon() { - return this.tab.changed ? !this.tabMouseOver : false; + return this.fileHasChanged ? !this.tabMouseOver : false; }, fileHasChanged() { return this.tab.changed || this.tab.tempFile || this.tab.staged; |