forked from DebaucheryLibrarian/traxxx
Refactored various modules for entities. Updated and refactored Kink scraper.
This commit is contained in:
@@ -211,25 +211,15 @@
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="link added"
|
||||
>{{ formatDate(release.dateAdded, 'MMMM D, YYYY') }}</a>
|
||||
>{{ formatDate(release.createdAt, 'MMMM D, YYYY HH:mm') }}</a>
|
||||
</span>
|
||||
|
||||
<div class="row">
|
||||
<Icon icon="paste2" />
|
||||
|
||||
<input
|
||||
class="filename"
|
||||
:value="filename"
|
||||
@focus="copyFilename"
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import config from 'config';
|
||||
import format from 'template-format';
|
||||
// import config from 'config';
|
||||
// import format from 'template-format';
|
||||
|
||||
import Banner from './banner.vue';
|
||||
import Actor from '../tile/actor.vue';
|
||||
@@ -240,13 +230,9 @@ function pageTitle() {
|
||||
return this.release && this.release.title;
|
||||
}
|
||||
|
||||
function copyFilename(event) {
|
||||
event.target.setSelectionRange(0, event.target.value.length);
|
||||
document.execCommand('copy');
|
||||
}
|
||||
|
||||
async function mounted() {
|
||||
this.release = await this.$store.dispatch('fetchReleaseById', this.$route.params.releaseId);
|
||||
/*
|
||||
this.filename = format(config.filename.pattern, {
|
||||
...this.release,
|
||||
shootId: this.release.shootId || '',
|
||||
@@ -254,6 +240,7 @@ async function mounted() {
|
||||
}, {
|
||||
spreadSeparator: config.filename.separator,
|
||||
});
|
||||
*/
|
||||
}
|
||||
|
||||
export default {
|
||||
@@ -273,9 +260,6 @@ export default {
|
||||
pageTitle,
|
||||
},
|
||||
mounted,
|
||||
methods: {
|
||||
copyFilename,
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user