Commit ffb59e5e authored by Noel Gordon's avatar Noel Gordon Committed by Commit Bot

[quickview] MetadataBox: show Team Drives modification time

DriveFs shipped and it reports Team Drive modification time: show that
in QuickView metadatabox. CL:1141459 mentioned some patch to come that
would fix it ... 👌 that never happened it seems.

Bug: 965370, 925229
Change-Id: Ie12e1b5c1fb77c288777f0f54a67302c1d543457
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1662103Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Reviewed-by: default avatarSam McNally <sammc@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669586}
parent e2a08881
......@@ -140,7 +140,8 @@ MetadataBoxController.prototype.onGeneralMetadataLoaded_ = function(
this.setDirectorySize_(
/** @type {!DirectoryEntry} */ (entry), isSameEntry);
}
if (item.modificationTime && !util.isTeamDriveRoot(entry)) {
if (item.modificationTime) {
this.metadataBox_.modificationTime =
this.fileMetadataFormatter_.formatModDate(item.modificationTime);
}
......
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