Skip to content

Commit 36db3bc

Browse files
change undo/redo button icons in workflow editor to traditional ones
1 parent dbc7c31 commit 36db3bc

1 file changed

Lines changed: 5 additions & 14 deletions

File tree

  • client/src/components/Workflow/Editor

client/src/components/Workflow/Editor/Index.vue

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,14 @@
188188
variant="secondary"
189189
:disabled="!undoRedoStore.hasUndo"
190190
@click="undoRedoStore.undo()">
191-
<FontAwesomeIcon :icon="faArrowLeft" />
191+
<FontAwesomeIcon :icon="faUndo" />
192192
</b-button>
193193
<b-button
194194
:title="undoRedoStore.redoText + ' (Ctrl + Shift + Z)'"
195195
variant="secondary"
196196
:disabled="!undoRedoStore.hasRedo"
197197
@click="undoRedoStore.redo()">
198-
<FontAwesomeIcon :icon="faArrowRight" />
198+
<FontAwesomeIcon :icon="faRedo" />
199199
</b-button>
200200
<b-button
201201
id="workflow-save-button"
@@ -254,16 +254,7 @@
254254
</template>
255255

256256
<script>
257-
import {
258-
faArrowLeft,
259-
faArrowRight,
260-
faCog,
261-
faKey,
262-
faSave,
263-
faSitemap,
264-
faTimes,
265-
faWrench,
266-
} from "@fortawesome/free-solid-svg-icons";
257+
import { faCog, faKey, faRedo, faSave, faSitemap, faTimes, faUndo, faWrench } from "@fortawesome/free-solid-svg-icons";
267258
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
268259
import { until, whenever } from "@vueuse/core";
269260
import { logicAnd, logicNot, logicOr } from "@vueuse/math";
@@ -773,11 +764,11 @@ export default {
773764
showSaveChangesModal: false,
774765
saveChangesAppendVersion: false,
775766
navUrl: "",
776-
faArrowLeft,
777-
faArrowRight,
778767
faTimes,
779768
faCog,
780769
faSave,
770+
faRedo,
771+
faUndo,
781772
};
782773
},
783774
computed: {

0 commit comments

Comments
 (0)