FIX: prevents failure when TL was mutated on internal object (#7808)

This commit is contained in:
Joffrey JAFFEUX 2019-06-26 14:51:45 +02:00 committed by GitHub
parent 3c64dc3e7d
commit 7c9d62c280
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -367,7 +367,11 @@
<div class="display-row">
<div class="field">{{i18n "trust_level"}}</div>
<div class="value">
{{combo-box content=site.trustLevels value=model.trust_level nameProperty="detailedName"}}
{{combo-box
content=site.trustLevels
value=model.trustLevel.id
nameProperty="detailedName"}}
{{#if model.dirty}}
<div>
{{d-button class="ok no-text" action=(action "saveTrustLevel") icon="check"}}