Fix lock more info dialog for code formatting

This commit is contained in:
Paulus Schoutsen 2016-02-24 22:03:43 -08:00
parent bee75620fe
commit 5c2b2c12ec
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@
}
</style>
<template>
<div hidden='[[!stateObj.attributes.codeFormat]]'>
<paper-input label='code' value='{{enteredCode}}' pattern='[[stateObj.attributes.codeFormat]]' type='password'></paper-input>
<div hidden='[[!stateObj.attributes.code_format]]'>
<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='handleLockTap' hidden$=[[isLocked]]>Lock</paper-button>
</div>