fix(admin): Fixed updating plugins (#6705)

This commit is contained in:
SamTV12345 2024-10-10 18:15:48 +02:00 committed by GitHub
parent f61a3b6c5a
commit 0b26405201
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 49 additions and 32 deletions

View file

@ -95,7 +95,9 @@ export const App = () => {
<h1>Etherpad</h1>
</span>
<ul onClick={()=>{
setSidebarOpen(false)
if (window.innerWidth < 768) {
setSidebarOpen(false)
}
}}>
<li><NavLink to="/plugins"><Cable/><Trans i18nKey="admin_plugins"/></NavLink></li>
<li><NavLink to={"/settings"}><Wrench/><Trans i18nKey="admin_settings"/></NavLink></li>