mirror of
https://github.com/home-assistant/core.git
synced 2025-05-01 20:57:51 +00:00
Remove Supervisor panel title and icon (#60894)
This commit is contained in:
parent
85293d8073
commit
d784c8dd1a
@ -461,8 +461,6 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool: # noqa:
|
|||||||
await hass.components.panel_custom.async_register_panel(
|
await hass.components.panel_custom.async_register_panel(
|
||||||
frontend_url_path="hassio",
|
frontend_url_path="hassio",
|
||||||
webcomponent_name="hassio-main",
|
webcomponent_name="hassio-main",
|
||||||
sidebar_title="Supervisor",
|
|
||||||
sidebar_icon="hass:home-assistant",
|
|
||||||
js_url="/api/hassio/app/entrypoint.js",
|
js_url="/api/hassio/app/entrypoint.js",
|
||||||
embed_iframe=True,
|
embed_iframe=True,
|
||||||
require_admin=True,
|
require_admin=True,
|
||||||
|
@ -165,8 +165,8 @@ async def test_setup_api_panel(hass, aioclient_mock):
|
|||||||
|
|
||||||
assert panels.get("hassio").to_response() == {
|
assert panels.get("hassio").to_response() == {
|
||||||
"component_name": "custom",
|
"component_name": "custom",
|
||||||
"icon": "hass:home-assistant",
|
"icon": None,
|
||||||
"title": "Supervisor",
|
"title": None,
|
||||||
"url_path": "hassio",
|
"url_path": "hassio",
|
||||||
"require_admin": True,
|
"require_admin": True,
|
||||||
"config": {
|
"config": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user