Skip to content

Commit b8c0985

Browse files
author
Noj Vek
committed
panel devtools 1.9
1 parent 2f74086 commit b8c0985

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

devtools/devtools.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ function getPanelElementState() {
4141
debugInfo.appState = panelElem.appState;
4242
}
4343

44-
if (panelElem.attrs && Object.keys(panelElem.attrs).length) {
45-
debugInfo.attrs = panelElem.attrs;
44+
const panelAttrs = panelElem._attrs || panelElem.attrs;
45+
if (panelAttrs && Object.keys(panelAttrs).length) {
46+
debugInfo.attrs = panelAttrs;
4647
debugInfo.attrsSchema = panelElem.constructor.attrsSchema;
4748
}
4849

devtools/manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.8",
2+
"version": "1.9",
33
"manifest_version": 2,
44
"name": "Panel Components",
55
"description": "Shows debug info and internal state for Panel components",

0 commit comments

Comments
 (0)