- fix(cognitron): Small fixes in Cognitron

1 internal commit(s)

GitOrigin-RevId: a72da7dc36ed4ab56f07283458610633177e4e1f
This commit is contained in:
the-superpirate 2021-05-01 13:13:51 +03:00
parent ad8f0b2700
commit 00c6c6ffff
4 changed files with 8 additions and 16 deletions

View File

@ -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('; ')
}

View File

@ -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")

View File

@ -111,7 +111,6 @@ export class BaseView {
if (this.ipfsMultihashesList) {
return this.ipfsMultihashesList[0]
}
return ''
}
getTelegramLink () {

View File

@ -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