mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 02:48:51 +00:00
feat: repalace api.getviews with api.getview when load view (#6388)
* feat: repalace api.getviews with api.getview when load view * fix: bug --------- Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
@@ -76,6 +76,11 @@ class Context {
|
||||
return this.metadataAPI.listViews(repoID);
|
||||
};
|
||||
|
||||
getView = (viewId) => {
|
||||
const repoID = this.settings['repoID'];
|
||||
return this.metadataAPI.getView(repoID, viewId);
|
||||
};
|
||||
|
||||
canModifyCell = (column) => {
|
||||
const { editable } = column;
|
||||
if (!editable) return false;
|
||||
|
Reference in New Issue
Block a user