Skip to content

Commit

Permalink
Add star indicator in file description
Browse files Browse the repository at this point in the history
Signed-off-by: Marco <marcoambrosini@icloud.com>
  • Loading branch information
marcoambrosini authored and AndyScherzinger committed Nov 22, 2023
1 parent 0da90ec commit 45cb11d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/files/src/views/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ export default {
* @return {string}
*/
subtitle() {
return `${this.size}, ${this.time}`
const starredIndicator = this.fileInfo.isFavourited ? '★ ' : ''
return `${starredIndicator} ${this.size}, ${this.time}`
},

/**
Expand Down

0 comments on commit 45cb11d

Please sign in to comment.