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 committed Nov 15, 2023
1 parent 9738196 commit a92b23a
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 a92b23a

Please sign in to comment.