filter and abstraction of researchList
This commit is contained in:
@ -2,8 +2,7 @@
|
||||
|
||||
import { ref } from "vue";
|
||||
import {onClickOutside} from '@vueuse/core'
|
||||
import {uploadPdf, uploadBibTex,postResearch} from "@/rest/ScientificPublications/ManageResearch.js";
|
||||
import i18n from "@/i18n.js";
|
||||
import {uploadPdf,postResearch} from "@/rest/ScientificPublications/ManageResearch.js";
|
||||
let toPost = Object.assign({}, {});
|
||||
|
||||
const props = defineProps({
|
||||
@ -16,9 +15,9 @@ async function uploadResearchPdf(pdf){
|
||||
const data = await uploadPdf(pdf);
|
||||
toPost.pdfLocation = data.url;
|
||||
}
|
||||
async function uploadResearchBibTexPdf(pdf){
|
||||
async function uploadBibTex(pdf){
|
||||
const data = await uploadPdf(pdf);
|
||||
toPost.pdfLocation = data.url;
|
||||
toPost.bibTexLocation = data.url;
|
||||
}
|
||||
|
||||
// Date when sent!!
|
||||
@ -114,10 +113,6 @@ onClickOutside(target, ()=>emit('modal-close'))
|
||||
margin-top: 9px;
|
||||
}
|
||||
|
||||
|
||||
#downloads {
|
||||
text-align: end;
|
||||
}
|
||||
#downloads button {
|
||||
align-self: center;
|
||||
margin-left: 2px;
|
||||
@ -131,20 +126,6 @@ onClickOutside(target, ()=>emit('modal-close'))
|
||||
background: rgba(191, 64, 191);
|
||||
}
|
||||
|
||||
#deleteButton{
|
||||
margin-left: 80%;
|
||||
align-self: center;
|
||||
text-align: center;
|
||||
border: 2px solid black;
|
||||
color: white;
|
||||
font-size: large;
|
||||
border-radius: 20px;
|
||||
background-color: red;
|
||||
}
|
||||
|
||||
#deleteButton:hover{
|
||||
background: #ff2d55;
|
||||
}
|
||||
|
||||
#cancelButton{
|
||||
align-self: center;
|
||||
|
Reference in New Issue
Block a user