mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-28 08:58:07 +00:00
Comment-out "Unknown component" block in inspector
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { inject } from "@storyteller/framework";
|
import { inject } from "@storyteller/framework";
|
||||||
import { LitElement, type PropertyValues, html, unsafeCSS } from "lit";
|
import { LitElement, type PropertyValues, html, unsafeCSS, nothing } from "lit";
|
||||||
import { customElement } from "lit/decorators.js";
|
import { customElement } from "lit/decorators.js";
|
||||||
|
|
||||||
import { SCENE_DATA_PROVIDER, type SceneDataProvider } from "../scene-data-provider.element";
|
import { SCENE_DATA_PROVIDER, type SceneDataProvider } from "../scene-data-provider.element";
|
||||||
@@ -81,10 +81,11 @@ export class EntityInspectorElement extends LitElement {
|
|||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
return html`
|
return nothing;
|
||||||
<h3>Unknown Component: ${name}</h3>
|
// return html`
|
||||||
<pre>${JSON.stringify({ name, value }, null, " ")}</pre>
|
// <h3>Unknown Component: ${name}</h3>
|
||||||
`;
|
// <pre>${JSON.stringify({ name, value }, null, " ")}</pre>
|
||||||
|
// `;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user