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

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

diff --git a/app/assets/javascripts/admin/templates/user-index.hbs b/app/assets/javascripts/admin/templates/user-index.hbs
index 32d3914..8617ff2 100644
--- a/app/assets/javascripts/admin/templates/user-index.hbs
+++ b/app/assets/javascripts/admin/templates/user-index.hbs
@@ -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"}}

GitHub sha: 7c9d62c2

1 Like

This commit has been mentioned on Discourse Meta. There might be relevant details there: