Commit 5e85aa36 authored by Noel Gordon's avatar Noel Gordon Committed by Commit Bot

[FilesApp] Show team drive modification time in the file list

DriveFs shipped and it reports Team Drive modification time: show that
time in the file list.

Bug: 867153
Change-Id: I8569e90687ef22f6d67ef8ae032aa80d21acb09d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1660302Reviewed-by: default avatarSam McNally <sammc@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669910}
parent eb6466f2
......@@ -1043,13 +1043,6 @@ class FileTable extends cr.ui.Table {
* @private
*/
updateDate_(div, entry) {
// For now, Team Drive roots have the incorrect modified date value. Hide it
// until we get the proper one (see https://crbug.com/861622).
if (util.isTeamDriveRoot(entry)) {
div.textContent = '--';
return;
}
const item = this.metadataModel_.getCache(
[entry], ['modificationTime', 'modificationByMeTime'])[0];
const modTime = this.useModificationByMeTime_ ?
......
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