Skip to content

Commit 722e1f9

Browse files
Kateryna ProkopenkoDevtools-frontend LUCI CQ
authored andcommitted
Show database icon for Shared storage subitems
Screenshot:http://b/40065014#attachment71787251 Bug: 40065014 Change-Id: Ie208f4a15c183de4e116b9ca4c49720f4838ff33 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/7260694 Commit-Queue: Benedikt Meurer <[email protected]> Reviewed-by: Benedikt Meurer <[email protected]> Auto-Submit: Kateryna Prokopenko <[email protected]>
1 parent 571207e commit 722e1f9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

front_end/panels/application/SharedStorageTreeElement.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// found in the LICENSE file.
44

55
import type * as Platform from '../../core/platform/platform.js';
6+
import {createIcon} from '../../ui/kit/kit.js';
67
import * as VisualLogging from '../../ui/visual_logging/visual_logging.js';
78

89
import {ApplicationPanelTreeElement} from './ApplicationPanelTreeElement.js';
@@ -22,6 +23,8 @@ export class SharedStorageTreeElement extends ApplicationPanelTreeElement {
2223
const treeElement = new SharedStorageTreeElement(resourcesPanel, sharedStorage);
2324
treeElement.view = await SharedStorageItemsView.createView(sharedStorage);
2425
treeElement.view.element.setAttribute('jslog', `${VisualLogging.pane('shared-storage-data')}`);
26+
const sharedStorageIcon = createIcon('database');
27+
treeElement.setLeadingIcons([sharedStorageIcon]);
2528
return treeElement;
2629
}
2730

0 commit comments

Comments
 (0)