more policy fixes

This commit is contained in:
wh1te909
2020-04-24 06:01:03 +00:00
parent 1042c719f5
commit bc9d898a06
3 changed files with 3 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ export default {
},
methods: {
addCheck() {
pk = (this.policypk) ? {policy: policypk} : {pk: agentpk}
const pk = (this.policypk) ? {policy: this.policypk} : {pk: this.agentpk}
const data = {
...pk,

View File

@@ -53,7 +53,7 @@ export default {
},
methods: {
addCheck() {
pk = (this.policypk) ? {policy: policypk} : {pk: agentpk}
const pk = (this.policypk) ? {policy: this.policypk} : {pk: this.agentpk}
const data = {
...pk,

View File

@@ -80,7 +80,7 @@ export default {
this.$store.dispatch("getScripts");
},
addScriptCheck() {
pk = (this.policypk) ? {policy: policypk} : {pk: agentpk}
const pk = (this.policypk) ? {policy: this.policypk} : {pk: this.agentpk}
const data = {
...pk,