mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 21:49:25 +08:00
Merge branch 'main' into next
This commit is contained in:
commit
44b7b73432
@ -66,12 +66,10 @@ export default class PluginWorkflowClient extends Plugin {
|
|||||||
|
|
||||||
useInstructionGroupOptions = () => {
|
useInstructionGroupOptions = () => {
|
||||||
const compile = useCompile();
|
const compile = useCompile();
|
||||||
return Array.from(this.instructionGroups.getEntities())
|
return Array.from(this.instructionGroups.getEntities()).map(([key, { label }]) => ({
|
||||||
.map(([key, { label }]) => ({
|
key,
|
||||||
key,
|
label: compile(label),
|
||||||
label: compile(label),
|
}));
|
||||||
}))
|
|
||||||
.sort((a, b) => a.label.localeCompare(b.label));
|
|
||||||
};
|
};
|
||||||
|
|
||||||
isWorkflowSync(workflow) {
|
isWorkflowSync(workflow) {
|
||||||
|
@ -345,16 +345,13 @@ const useStyles = createStyles(({ css, token }) => {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
.ant-tag {
|
.ant-tag {
|
||||||
max-width: 10em;
|
max-width: 14em;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
.workflow-node-id {
|
.workflow-node-id {
|
||||||
color: ${token.colorTextDescription};
|
display: none;
|
||||||
&:before {
|
|
||||||
content: '#';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
|
|
||||||
@ -363,7 +360,7 @@ const useStyles = createStyles(({ css, token }) => {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
.workflow-node-id {
|
.workflow-node-id {
|
||||||
color: ${token.colorTextDescription};
|
display: none;
|
||||||
}
|
}
|
||||||
`,
|
`,
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user