mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
92a8a53a95
closes ENG-711 When an Admin is authenticated in Comments-UI we only add moderation options to the displayed comments so we don't need to pre-emptively load the `admin-auth` iframe and make the `/ghost/api/admin/users/me/` request until some comments are actually visible. - used `state.comments.length` property to defer rendering of the admin auth frame until comments have been fetched (after box is scrolled into view) and the count is > 0 |
||
---|---|---|
.. | ||
components | ||
images/icons | ||
styles | ||
utils | ||
actions.ts | ||
App.tsx | ||
AppContext.ts | ||
AuthFrame.tsx | ||
index.tsx | ||
pages.ts | ||
setupTests.ts | ||
typings.d.ts | ||
vite-env.d.ts |