1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-10 11:21:29 +00:00

Optimized code structure (#2430)

* combine utils file

* modify file position
This commit is contained in:
shanshuirenjia
2018-10-09 10:56:59 +08:00
committed by Daniel Pan
parent a2cc17778c
commit c0d645962f
45 changed files with 87 additions and 96 deletions

View File

@@ -1,6 +1,6 @@
import React from 'react';
import MenuControl from '../menu-component/node-menu-control';
import { permission } from '../constants';
import { permission } from '../../utils/constants';
function sortByType(a, b) {
if (a.type == 'dir' && b.type != 'dir') {