mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 16:56:35 +00:00
Fix lock more info dialog for code formatting
This commit is contained in:
parent
bee75620fe
commit
5c2b2c12ec
@ -10,8 +10,8 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<template>
|
<template>
|
||||||
<div hidden='[[!stateObj.attributes.codeFormat]]'>
|
<div hidden='[[!stateObj.attributes.code_format]]'>
|
||||||
<paper-input label='code' value='{{enteredCode}}' pattern='[[stateObj.attributes.codeFormat]]' type='password'></paper-input>
|
<paper-input label='code' value='{{enteredCode}}' pattern='[[stateObj.attributes.code_format]]' type='password'></paper-input>
|
||||||
<paper-button on-tap='handleUnlockTap' hidden$='[[!isLocked]]'>Unlock</paper-button>
|
<paper-button on-tap='handleUnlockTap' hidden$='[[!isLocked]]'>Unlock</paper-button>
|
||||||
<paper-button on-tap='handleLockTap' hidden$=[[isLocked]]>Lock</paper-button>
|
<paper-button on-tap='handleLockTap' hidden$=[[isLocked]]>Lock</paper-button>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user