Unverified Commit 16114628 authored by davelopez's avatar davelopez
Browse files

Refactor save button placement in workflow editor

- Move the save button to the top right corner of the editor and make it always visible
parent baf70fd4
Loading
Loading
Loading
Loading
+8 −9
Original line number Diff line number Diff line
@@ -129,15 +129,6 @@
                        <span class="editor-title" :title="name"
                            >{{ name }}
                            <i v-if="hasChanges" class="text-muted"> (unsaved changes) </i>
                            <b-button
                                v-if="hasChanges"
                                id="workflow-save-button"
                                class="py-1 px-2"
                                variant="link"
                                :title="saveWorkflowTitle"
                                @click="saveOrCreate">
                                <FontAwesomeIcon :icon="faSave" />
                            </b-button>
                        </span>
                    </span>

@@ -154,6 +145,14 @@
                            @click="undoRedoStore.redo()">
                            <FontAwesomeIcon icon="fa-arrow-right" />
                        </b-button>
                        <b-button
                            id="workflow-save-button"
                            class="py-1 px-2"
                            variant="link"
                            :title="saveWorkflowTitle"
                            @click="saveOrCreate">
                            <FontAwesomeIcon :icon="faSave" />
                        </b-button>
                    </b-button-group>
                </div>
                <WorkflowGraph