expirationTime || cache.deviceID ) { object = { [CACHE]: { [LAST_FETCHED]: this.getDate(cache.lastFetched) || NOT_AVAILABLE, [FETCH_COUNT]: cache.fetchCount || NOT_AVAILABLE, [DATA_SIZE]: cache.storageDataSize || NOT_AVAILABLE, [LAST_MODIFIED]: this.getDate(cache.lastModified) || NOT_AVAILABLE, [EXPIRES]: this.getDate(cache.expirationTime) || NOT_AVAILABLE, [DEVICE]: cache.deviceID || NOT_AVAILABLE, }, }; } else { return div({ className: "empty-notice" }, EMPTY); } return div( { className: "panel-container security-panel" }, PropertiesView({ object, enableFilter: false, expandedNodes: TreeViewClass.getExpandedNodes(object), }) ); } } module.exports = CachePanel; PK