Skip to content

Commit 21f3dc6

Browse files
committed
remove unused code
1 parent f1b3e2d commit 21f3dc6

File tree

3 files changed

+0
-20
lines changed

3 files changed

+0
-20
lines changed

src/store/zap/actions.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,15 +1171,6 @@ export function setDebugNavBar(context, debugNavBar) {
11711171
context.commit('setDebugNavBar', debugNavBar)
11721172
}
11731173

1174-
/**
1175-
* Show or hide the Save button in ZAP UI.
1176-
* @param {*} context
1177-
* @param {*} saveButtonVisible
1178-
*/
1179-
export function setSaveButtonVisible(context, saveButtonVisible) {
1180-
context.commit('setSaveButtonVisible', saveButtonVisible)
1181-
}
1182-
11831174
/**
11841175
* Set the mode of ZAP UI.
11851176
* @param {*} context

src/store/zap/mutations.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -789,15 +789,6 @@ export function setDebugNavBar(state, debugNavBar) {
789789
state.debugNavBar = debugNavBar
790790
}
791791

792-
/**
793-
* Show save button in the UI using the state.
794-
* @param {*} state
795-
* @param {*} saveButtonVisible
796-
*/
797-
export function setSaveButtonVisible(state, saveButtonVisible) {
798-
state.saveButtonVisible = saveButtonVisible
799-
}
800-
801792
/**
802793
* Set standalone mode for ZAP using the state.
803794
* @param {*} state

src/store/zap/state.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ export default function () {
5757
selectedGenericOptions: {},
5858
projectPackages: [],
5959
allPackages: [],
60-
isDirty: false,
61-
saveButtonVisible: false,
6260
clusterManager: {
6361
openDomains: {},
6462
lastSelectedDomain: null,

0 commit comments

Comments
 (0)