mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-11-10 13:29:24 +01:00
Merge pull request #39 from the-superpirate/master
- fix(cognitron): Small fixes in Cognitron
This commit is contained in:
commit
125c9b7923
@ -1,5 +1,5 @@
|
||||
<template lang="pug">
|
||||
div.document
|
||||
div
|
||||
.top
|
||||
h6 {{ document.title }}
|
||||
.top
|
||||
@ -18,8 +18,11 @@
|
||||
|
||||
<script>
|
||||
import { getIssuedDate } from '@/plugins/helpers'
|
||||
import VTr from './v-tr'
|
||||
import VTrMultiLink from './v-tr-multi-link'
|
||||
export default {
|
||||
name: 'VScitech',
|
||||
components: { VTr, VTrMultiLink },
|
||||
props: {
|
||||
document: {
|
||||
type: Object,
|
||||
@ -37,14 +40,8 @@ export default {
|
||||
return getIssuedDate(this.document.issuedAt)
|
||||
},
|
||||
ipfsUrl () {
|
||||
if (!this.ipfsMultihash) return null
|
||||
return `${this.$config.ipfs.gateway.url}/ipfs/${this.ipfsMultihash}?filename=${this.document.getFilename()}&download=true`
|
||||
},
|
||||
ipfsMultihash () {
|
||||
if (this.document.ipfsMultihashesList) {
|
||||
return this.document.ipfsMultihashesList[0]
|
||||
}
|
||||
return ''
|
||||
if (!this.document.getIpfsMultihash()) return null
|
||||
return `${this.$config.ipfs.gateway.url}/ipfs/${this.document.getIpfsMultihash()}?filename=${this.document.getFilename()}&download=true`
|
||||
},
|
||||
links () {
|
||||
const links = []
|
||||
@ -61,9 +58,6 @@ export default {
|
||||
}
|
||||
return links
|
||||
},
|
||||
locator () {
|
||||
return ''
|
||||
},
|
||||
tags () {
|
||||
return (this.document.tagsList || []).join('; ')
|
||||
}
|
||||
|
@ -10,7 +10,6 @@
|
||||
value-field="item"
|
||||
text-field="name")
|
||||
p.mt-5(v-if="nothingFound") Nothing found
|
||||
b-pagination(v-if='documents.length > 0' v-model='page' :total-rows='totalRows' :per-page='perPage' limit="2" :disabled="isLoading")
|
||||
.search-list
|
||||
search-list(:documents='documents')
|
||||
b-pagination(v-if='documents.length > 0' v-model='page' :total-rows='totalRows' :per-page='perPage' limit="2" :disabled="isLoading")
|
||||
|
@ -111,7 +111,6 @@ export class BaseView {
|
||||
if (this.ipfsMultihashesList) {
|
||||
return this.ipfsMultihashesList[0]
|
||||
}
|
||||
return ''
|
||||
}
|
||||
|
||||
getTelegramLink () {
|
||||
|
@ -30,9 +30,9 @@ Although many of goals looks complex and faraway I strongly believe that we will
|
||||
|
||||
#### Infrastructure
|
||||
|
||||
- Putting scimag collection onto IPFS
|
||||
- Putting scimag collection onto IPFS (#37)
|
||||
- Announce data dumps for both scitech and scimag collections
|
||||
- Pinning feature in the app that will allow users to pin subset of the collection in an easy way
|
||||
- Pinning feature in the app that will allow users to pin subset of the collection in an easy way (#38)
|
||||
- (*) Consider various **reliable** ways to announce new releases of **initial** data dumps
|
||||
- Maintain and curate the list of already publicly available journals in Pylon
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user