This commit is contained in:
tengge 2020-05-31 16:45:47 +08:00
parent 2dd706e5bc
commit de53cea4c4
2 changed files with 2 additions and 3 deletions

View File

@ -164,7 +164,7 @@ class CategoryWindow extends React.Component {
}
CategoryWindow.propTypes = {
type: PropTypes.oneOf(['Scene', 'Mesh', 'Map', 'Texture', 'Material', 'Audio', 'Particle', 'Screenshot', 'Video']),
type: PropTypes.oneOf(['Scene', 'Mesh', 'Map', 'Texture', 'Material', 'Audio', 'Animation', 'Particle', 'Screenshot', 'Video']),
typeName: PropTypes.string,
callback: PropTypes.func
};

View File

@ -60,8 +60,7 @@ class EditWindow extends React.Component {
value={categoryID}
onChange={this.handleCategoryChange}
/>
<Button show={!enableAuthority || authorities.includes('LIST_CATEGORY')}
onClick={this.handleEditCategoryList}
<Button onClick={this.handleEditCategoryList}
>{_t('Edit')}</Button>
</FormControl>
<FormControl>