1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 07:55:36 +00:00

Merge branch '7.0'

This commit is contained in:
plt
2019-08-25 13:25:37 +08:00
21 changed files with 92 additions and 142 deletions

View File

@@ -475,7 +475,7 @@ class SharedRepoListItem extends React.Component {
}
render() {
if (window.innerWidth >= 768) {
if (Utils.isDesktop()) {
return this.renderPCUI();
} else {
return this.renderMobileUI();

View File

@@ -141,7 +141,7 @@ class SharedRepoListView extends React.Component {
}
render() {
if (window.innerWidth >= 768) {
if (Utils.isDesktop()) {
return this.renderPCUI();
} else {
return this.renderMobileUI();