mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 23:48:47 +00:00
[dtable] cleanup: removed related files and code (#4314)
This commit is contained in:
@@ -627,23 +627,6 @@ export const Utils = {
|
||||
};
|
||||
},
|
||||
|
||||
getDTableShareLinkPermissionObject: function(permission) {
|
||||
switch (permission) {
|
||||
case 'read-only':
|
||||
return {
|
||||
value: permission,
|
||||
text: 'read-only',
|
||||
permission: 'r'
|
||||
};
|
||||
case 'read-write':
|
||||
return {
|
||||
value: permission,
|
||||
text: 'read-write',
|
||||
permission: 'rw'
|
||||
};
|
||||
}
|
||||
},
|
||||
|
||||
formatSize: function(options) {
|
||||
/*
|
||||
* param: {bytes, precision}
|
||||
|
Reference in New Issue
Block a user