FIX: User directory - correct variable names (#13798)

FIX: User directory - correct variable names (#13798)

diff --git a/app/assets/javascripts/discourse/app/components/directory-table.js b/app/assets/javascripts/discourse/app/components/directory-table.js
index e92b884..08cb163 100644
--- a/app/assets/javascripts/discourse/app/components/directory-table.js
+++ b/app/assets/javascripts/discourse/app/components/directory-table.js
@@ -79,7 +79,7 @@ export default Component.extend({
     }
   },
 
-  willDestoryElement() {
+  willDestroyElement() {
     this._tableContainer.removeEventListener("scroll", this.onBottomScroll);
     this._topHorizontalScrollBar.removeEventListener(
       "scroll",
diff --git a/app/assets/javascripts/discourse/app/templates/mobile/users.hbs b/app/assets/javascripts/discourse/app/templates/mobile/users.hbs
index ff80213..632c911 100644
--- a/app/assets/javascripts/discourse/app/templates/mobile/users.hbs
+++ b/app/assets/javascripts/discourse/app/templates/mobile/users.hbs
@@ -35,7 +35,7 @@
         {{/if}}
       </div>
 
-      {{#conditional-loading-spinner condition=model.loading}}
+      {{#conditional-loading-spinner condition=isLoading}}
         {{#if model.length}}
           <div class="total-rows">{{i18n "directory.total_rows" count=model.totalRows}}</div>
           {{#each model as |item|}}

GitHub sha: af5cf5ec2a7d352fe7c39ae7385016762d2bda96

This commit appears in #13798 which was approved by pmusaraj. It was merged by markvanlan.