1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-05-03 07:00:54 +01:00

Merge update dialogs (#8516)

This commit is contained in:
Joakim Sørensen
2021-03-02 16:39:54 +01:00
committed by GitHub
parent d8cdbac15e
commit 9f73f0ca8d
11 changed files with 157 additions and 260 deletions

View File

@@ -309,13 +309,12 @@ export const updateHassioAddon = async (
method: "post",
timeout: null,
});
return;
} else {
await hass.callApi<HassioResponse<void>>(
"POST",
`hassio/addons/${slug}/update`
);
}
await hass.callApi<HassioResponse<void>>(
"POST",
`hassio/addons/${slug}/update`
);
};
export const restartHassioAddon = async (