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:
parent
1301f97a4f
commit
e0209c6b59
9 changed files with 213 additions and 87 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue