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 <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
  • Loading branch information
marcoambrosini authored and nextcloud-command committed Nov 22, 2023
1 parent 0da90ec commit f476220
Show file tree
Hide file tree
Showing 17 changed files with 26 additions and 25 deletions.
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
4 changes: 2 additions & 2 deletions dist/7255-7255.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/7255-7255.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/7856-7856.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/7856-7856.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/comments-comments-app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/comments-comments-app.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/comments-comments-tab.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/comments-comments-tab.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/core-common.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-common.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/files-sidebar.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-sidebar.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/files_sharing-files_sharing_tab.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files_sharing-files_sharing_tab.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/weather_status-weather-status.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/weather_status-weather-status.js.map

Large diffs are not rendered by default.

0 comments on commit f476220

Please sign in to comment.