1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-26 09:45:28 +03:00

Convert battery icon to vue component (#2726)

* feat: use vue battery icon
* Add battery icon stories
* feat: use battery state if available
This commit is contained in:
Tomas Chmelevskij 2023-01-07 00:04:21 +01:00 committed by GitHub
parent 1301f97a4f
commit e0209c6b59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 213 additions and 87 deletions

View file

@ -659,10 +659,6 @@ async function getStatus() {
async function update_live_status() {
const statuswrapper = $('#quad-status_wrapper');
$(".quad-status-contents").css({
display: 'inline-block',
});
if (GUI.active_tab !== 'cli' && GUI.active_tab !== 'presets') {
await MSP.promise(MSPCodes.MSP_BOXNAMES);
await getStatus();