Skip to content

Commit e2d6d4f

Browse files
authored
Fix bug (#1163)
1 parent 8bc691b commit e2d6d4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mgt-components/src/components/mgt-file-list/mgt-file-list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ export class MgtFileList extends MgtTemplatedComponent {
508508
protected renderFile(file: DriveItem): TemplateResult {
509509
const view = this.itemView;
510510
return (
511-
this.renderTemplate('file', { file }) ||
511+
this.renderTemplate('file', { file }, file.id) ||
512512
html`
513513
<mgt-file .fileDetails=${file} .view=${view} @click=${e => this.handleItemSelect(file, e)}></mgt-file>
514514
`

0 commit comments

Comments
 (0)