mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:40:00 +08:00
FIX: prevents failure when TL was mutated on internal object (#7808)
This commit is contained in:
parent
3c64dc3e7d
commit
7c9d62c280
|
@ -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"}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user