Skip to content

Commit

Permalink
fix css
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefry-nolastname authored Apr 4, 2022
1 parent 6fb72dd commit d4d0440
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/material/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const axios = require('axios').default;

async function materialList(company,division){
const response = await axios.get(process.env.backend_url+`/api/materials?sort[0]=Presented:asc&filters[company][id][$eq]=${company}&filters[division][id][$eq]=${division}&populate=participants,division,Images`).catch((e)=>{
const response = await axios.get(process.env.backend_url+`/api/materials?sort[0]=id:asc&filters[company][id][$eq]=${company}&filters[division][id][$eq]=${division}&populate=participants,division,Images`).catch((e)=>{
console.log(e.response.body);
});
return (response)?response.data.data:[];
Expand Down
4 changes: 2 additions & 2 deletions views/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
</figure>
<div class="card-body">
<div class="row">
<div class="col-6">
<div class="col-12">
<h5 class="card-title">{{attributes.Title}}</h5>
</div>
<div class="col-6 justify-content-md-end" style="text-align: end;">
<div class="col-12 justify-content-md-end" style="text-align: end;">
<small class="card-subtitle mb-2">{{attributes.Presented}}</small>
</div>
</div>
Expand Down

0 comments on commit d4d0440

Please sign in to comment.