This repository was archived by the owner on Apr 14, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
resources/assets/components Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 5
5
<div >
6
6
<h2 class =" font-sans tracking-wide font-light text-4xl pb-4" >PHP Vulnerabilities</h2 >
7
7
<p class =" font-sans tracking-wide font-light pb-4" >PHP has had its share of vulnerabilities pop up. Check back here as we update this daily.</p >
8
- <input class =" mb-4 w-1/5 shadow appearance-none border rounded py-2 px-3 text-grey-darker leading-tight focus:outline-none focus:shadow-outline" id =" search" type =" text" placeholder =" Search PHP Versions " v-model =" search" >
8
+ <input class =" mb-4 w-1/5 shadow appearance-none border rounded py-2 px-3 text-grey-darker leading-tight focus:outline-none focus:shadow-outline" id =" search" type =" text" placeholder =" Search CVEs " v-model =" search" >
9
9
<table class =" w-full table-auto" >
10
10
<thead >
11
11
<tr >
85
85
getVulnerabilities () {
86
86
axios .get (' /api/vulnerabilities' ).then (response => {
87
87
this .vulnerabilities = response .data .data ;
88
- this .links = response .meta .pagination .links ;
88
+ this .links = response .data . meta .pagination .links ;
89
89
}).catch (err => {
90
90
console .log (err);
91
91
});
92
92
},
93
93
94
94
getPreviousPage () {
95
- axios .get (this .links .prev ).then (response => {
95
+ axios .get (this .links .previous ).then (response => {
96
96
this .vulnerabilities = response .data .data ;
97
- this .links = response .meta .pagination .links ;
97
+ this .links = response .data . meta .pagination .links ;
98
98
this .currentPage = this .currentPage - 1 ;
99
99
}).catch (err => {
100
100
console .log (err);
104
104
getNextPage () {
105
105
axios .get (this .links .next ).then (response => {
106
106
this .vulnerabilities = response .data .data ;
107
- this .links = response .meta .pagination .links ;
107
+ this .links = response .data . meta .pagination .links ;
108
108
this .currentPage = this .currentPage + 1 ;
109
109
}).catch (err => {
110
110
console .log (err);
You can’t perform that action at this time.
0 commit comments