Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
paulr34 committed Jan 21, 2025
1 parent 7b7ceb9 commit 8c1c661
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 34 deletions.
15 changes: 0 additions & 15 deletions src/components/ZCLToolbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,6 @@
<div>Generate</div>
</div>
</q-btn>
<q-btn
id="save"
color="grey"
flat
no-caps
@click="saveChanges"
v-if="
this.$store.state.zap.saveButtonVisible && this.$store.state.zap.isDirty
"
>
<div class="text-center">
<q-icon name="o_save" />
<div>Save</div>
</div>
</q-btn>
<q-btn
v-if="isCoreDocumentationAvailable"
id="documentation"
Expand Down
9 changes: 0 additions & 9 deletions src/store/zap/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1136,15 +1136,6 @@ export function setDebugNavBar(context, debugNavBar) {
context.commit('setDebugNavBar', debugNavBar)
}

/**
* Show or hide the Save button in ZAP UI.
* @param {*} context
* @param {*} saveButtonVisible
*/
export function setSaveButtonVisible(context, saveButtonVisible) {
context.commit('setSaveButtonVisible', saveButtonVisible)
}

/**
* Set the mode of ZAP UI.
* @param {*} context
Expand Down
9 changes: 0 additions & 9 deletions src/store/zap/mutations.js
Original file line number Diff line number Diff line change
Expand Up @@ -752,15 +752,6 @@ export function setDebugNavBar(state, debugNavBar) {
state.debugNavBar = debugNavBar
}

/**
* Show save button in the UI using the state.
* @param {*} state
* @param {*} saveButtonVisible
*/
export function setSaveButtonVisible(state, saveButtonVisible) {
state.saveButtonVisible = saveButtonVisible
}

/**
* Set standalone mode for ZAP using the state.
* @param {*} state
Expand Down
1 change: 0 additions & 1 deletion src/store/zap/state.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export default function () {
projectPackages: [],
allPackages: [],
isDirty: false,
saveButtonVisible: false,
clusterManager: {
openDomains: {},
lastSelectedDomain: null,
Expand Down

0 comments on commit 8c1c661

Please sign in to comment.