mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-12 12:22:13 +00:00
parent
52209a3d71
commit
4b4e03f19f
@ -14,6 +14,7 @@
|
|||||||
border: 1px solid #dedede;
|
border: 1px solid #dedede;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
|
margin-bottom: 8px;
|
||||||
line-height: 26px;
|
line-height: 26px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
@ -21,7 +22,3 @@
|
|||||||
.sf-metadata-auto-image-tags .auto-image-tag.selected {
|
.sf-metadata-auto-image-tags .auto-image-tag.selected {
|
||||||
border-color: #FF9800;
|
border-color: #FF9800;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sf-metadata-auto-image-tags .auto-image-tag.selected::after {
|
|
||||||
content: ('');
|
|
||||||
}
|
|
||||||
|
@ -12,6 +12,7 @@ import { getTagByName, getTagId } from '../../../../tag/utils';
|
|||||||
import { PRIVATE_COLUMN_KEY as TAGS_PRIVATE_COLUMN_KEY } from '../../../../tag/constants';
|
import { PRIVATE_COLUMN_KEY as TAGS_PRIVATE_COLUMN_KEY } from '../../../../tag/constants';
|
||||||
import { SELECT_OPTION_COLORS } from '../../../constants';
|
import { SELECT_OPTION_COLORS } from '../../../constants';
|
||||||
import { useTags } from '../../../../tag/hooks';
|
import { useTags } from '../../../../tag/hooks';
|
||||||
|
import EmptyTip from '../../../../components/empty-tip';
|
||||||
|
|
||||||
import './index.css';
|
import './index.css';
|
||||||
|
|
||||||
@ -140,14 +141,14 @@ const FileTagsDialog = ({ record, onToggle, onSubmit }) => {
|
|||||||
})}
|
})}
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<div className="empty-tip">{gettext('No tags')}</div>
|
<EmptyTip className="w-100 h-100" text={gettext('No tags')} />
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</ModalBody>
|
</ModalBody>
|
||||||
<ModalFooter>
|
<ModalFooter>
|
||||||
<Button color="secondary" onClick={() => onToggle()}>{gettext('Cancel')}</Button>
|
<Button color="secondary" onClick={() => onToggle()}>{gettext('Cancel')}</Button>
|
||||||
<Button color="primary" disabled={isLoading || isSubmitting} onClick={handelSubmit}>{gettext('Submit')}</Button>
|
<Button color="primary" disabled={isLoading || isSubmitting || fileTags.length === 0} onClick={handelSubmit}>{gettext('Submit')}</Button>
|
||||||
</ModalFooter>
|
</ModalFooter>
|
||||||
</Modal>
|
</Modal>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user