@@ -135,6 +135,15 @@ export default {
return this.command.userComments || this.command.summary;
},
},
+ methods: {
+ getChianIcon() {
+ return (
+ this.command?.subCommands?.find(
+ (command) => command.value === this.command.commandType
+ )?.icon || "fork_left"
+ );
+ },
+ },
};
@@ -163,15 +172,18 @@ export default {
.command-label {
user-select: none;
pointer-events: all;
- cursor: grab;
- transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 8px;
margin-right: 8px;
}
-.command-label:hover {
+.command-label-text {
+ cursor: grab;
+ transition: all 0.3s ease;
+}
+
+.command-label-text:hover {
color: var(--q-primary);
transition: all 0.3s ease;
}
diff --git a/src/components/composer/control/ControlCommand.vue b/src/components/composer/control/ControlCommand.vue
index 208209c..98e3778 100644
--- a/src/components/composer/control/ControlCommand.vue
+++ b/src/components/composer/control/ControlCommand.vue
@@ -2,7 +2,7 @@
-
+
{{ currentFunction?.label || modelValue.commandType }}
@@ -25,7 +25,7 @@
no-icon-animation
class="control-btn"
>
-
+