Commit 655692d4 authored by Phil Hughes's avatar Phil Hughes

Updated computed props

parent 9b2fda53
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
return this.file.tempFile ? 'file-addition' : 'file-modified'; return this.file.tempFile ? 'file-addition' : 'file-modified';
}, },
changedIconClass() { changedIconClass() {
return `multi-file-changed-icon ${this.file.tempFile ? 'multi-file-addition' : 'multi-file-modified'}`; return `multi-${this.changedIcon}`;
}, },
}, },
}; };
...@@ -26,6 +26,6 @@ ...@@ -26,6 +26,6 @@
<icon <icon
:name="changedIcon" :name="changedIcon"
:size="12" :size="12"
:css-classes="changedIconClass" :css-classes="`multi-file-changed-icon ${changedIconClass}`"
/> />
</template> </template>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment