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 55 <div >
66 <h2 class =" font-sans tracking-wide font-light text-4xl pb-4" >PHP Vulnerabilities</h2 >
77 <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" >
99 <table class =" w-full table-auto" >
1010 <thead >
1111 <tr >
8585 getVulnerabilities () {
8686 axios .get (' /api/vulnerabilities' ).then (response => {
8787 this .vulnerabilities = response .data .data ;
88- this .links = response .meta .pagination .links ;
88+ this .links = response .data . meta .pagination .links ;
8989 }).catch (err => {
9090 console .log (err);
9191 });
9292 },
9393
9494 getPreviousPage () {
95- axios .get (this .links .prev ).then (response => {
95+ axios .get (this .links .previous ).then (response => {
9696 this .vulnerabilities = response .data .data ;
97- this .links = response .meta .pagination .links ;
97+ this .links = response .data . meta .pagination .links ;
9898 this .currentPage = this .currentPage - 1 ;
9999 }).catch (err => {
100100 console .log (err);
104104 getNextPage () {
105105 axios .get (this .links .next ).then (response => {
106106 this .vulnerabilities = response .data .data ;
107- this .links = response .meta .pagination .links ;
107+ this .links = response .data . meta .pagination .links ;
108108 this .currentPage = this .currentPage + 1 ;
109109 }).catch (err => {
110110 console .log (err);
You can’t perform that action at this time.
0 commit comments