Skip to content

Commit

Permalink
Merge pull request #1352 from CVEProject/srl-tat-782
Browse files Browse the repository at this point in the history
#782 remove target='_blank' and add debugger for testing
  • Loading branch information
athu-tran committed Oct 3, 2022
2 parents 8a6e1cc + 12158e1 commit e10427c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/views/CVERecord/CveJsonView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default ({
},
methods: {
getJSon() {
debugger
if (_.isEmpty(this.$store.state.recordData) && _.isEmpty(this.$store.state.idData)) this.$router.push('/');
if (!_.isUndefined(this.$store.state.isArecord) && !_.isEmpty(this.$store.state.recordData)) {
this.record = this.$store.state.recordData;
Expand Down
2 changes: 1 addition & 1 deletion src/views/CVERecord/PublishedRecord.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
<div class="level-right ml-1">
<div class="level-item is-size-7">
<router-link id="cve-view-json" to="/CveJson" target="_blank">
<router-link id="cve-view-json" to="/CveJson">
View JSON
</router-link>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/views/CVERecord/RejectedRecordOrId.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
<div class="level-right ml-1">
<div class="level-item is-size-7">
<router-link id="cve-view-json" to="/CveJson" target="_blank">
<router-link id="cve-view-json" to="/CveJson">
View JSON
</router-link>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/views/CVERecord/ReservedId.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
<div class="level-right">
<div class="level-item is-size-7">
<router-link id="cve-view-json" to="/CveJson" target="_blank">
<router-link id="cve-view-json" to="/CveJson">
View JSON
</router-link>
</div>
Expand Down

0 comments on commit e10427c

Please sign in to comment.