Iván Ovejero 2023-12-20 10:42:26 +01:00 committed by GitHub
parent 4b86926752
commit 1d1cb0d3c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -118,7 +118,10 @@ export default defineComponent({
getJsonValue(): string { getJsonValue(): string {
let selectedValue = jp.query(this.jsonData, `$${this.normalisedJsonPath}`)[0]; let selectedValue = jp.query(this.jsonData, `$${this.normalisedJsonPath}`)[0];
if (this.noSelection) { if (this.noSelection) {
if (this.hasPinData) { const inExecutionsFrame =
window !== window.parent && window.parent.location.pathname.includes('/executions');
if (this.hasPinData && !inExecutionsFrame) {
selectedValue = clearJsonKey(this.pinData as object); selectedValue = clearJsonKey(this.pinData as object);
} else { } else {
selectedValue = executionDataToJson( selectedValue = executionDataToJson(