mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +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 = () => {
|
||||
const compile = useCompile();
|
||||
return Array.from(this.instructionGroups.getEntities())
|
||||
.map(([key, { label }]) => ({
|
||||
key,
|
||||
label: compile(label),
|
||||
}))
|
||||
.sort((a, b) => a.label.localeCompare(b.label));
|
||||
return Array.from(this.instructionGroups.getEntities()).map(([key, { label }]) => ({
|
||||
key,
|
||||
label: compile(label),
|
||||
}));
|
||||
};
|
||||
|
||||
isWorkflowSync(workflow) {
|
||||
|
@ -345,16 +345,13 @@ const useStyles = createStyles(({ css, token }) => {
|
||||
align-items: center;
|
||||
|
||||
.ant-tag {
|
||||
max-width: 10em;
|
||||
max-width: 14em;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.workflow-node-id {
|
||||
color: ${token.colorTextDescription};
|
||||
&:before {
|
||||
content: '#';
|
||||
}
|
||||
display: none;
|
||||
}
|
||||
`,
|
||||
|
||||
@ -363,7 +360,7 @@ const useStyles = createStyles(({ css, token }) => {
|
||||
align-items: center;
|
||||
font-weight: normal;
|
||||
.workflow-node-id {
|
||||
color: ${token.colorTextDescription};
|
||||
display: none;
|
||||
}
|
||||
`,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user