mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-06 17:33:18 +00:00
[misc] modification for mobile (#4016)
This commit is contained in:
@@ -483,7 +483,7 @@ class SharedRepoListItem extends React.Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
if (window.innerWidth >= 768) {
|
||||
if (Utils.isDesktop()) {
|
||||
return this.renderPCUI();
|
||||
} else {
|
||||
return this.renderMobileUI();
|
||||
|
Reference in New Issue
Block a user