mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +08:00
29 lines
593 B
Vue
29 lines
593 B
Vue
<template>
|
|
<div class="attachment-container asset" :data-asset-id="attachment.id">
|
|
<div
|
|
class="file-name"
|
|
:id="`modal_link${attachment.id}`"
|
|
data-no-turbolink="true"
|
|
:data-id="attachment.id"
|
|
>
|
|
<div class="attachment-preview processing" :class= "attachment.attributes.asset_type"></div>
|
|
</div>
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'emptyAttachment',
|
|
props: {
|
|
attachment: {
|
|
type: Object,
|
|
required: true
|
|
},
|
|
stepId: {
|
|
type: Number,
|
|
required: true
|
|
}
|
|
}
|
|
}
|
|
</script>
|