forked from DebaucheryLibrarian/traxxx
Changed album close behavior so album can be closed when visiting URL directly.
This commit is contained in:
parent
a275d0c855
commit
de460f53b1
|
@ -327,7 +327,7 @@
|
|||
:title="actor.name"
|
||||
:portrait="true"
|
||||
:comments="true"
|
||||
@close="$router.go(-1)"
|
||||
@close="$router.replace({ hash: undefined })"
|
||||
/>
|
||||
|
||||
<div class="actor-content">
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
:items="[release.poster, ...release.photos]"
|
||||
:title="release.title"
|
||||
:path="config.media.mediaPath"
|
||||
@close="$router.go(-1)"
|
||||
@close="$router.replace({ hash: undefined })"
|
||||
/>
|
||||
|
||||
<div class="info column">
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
:title="tag.name"
|
||||
:local="true"
|
||||
class="portrait"
|
||||
@close="$router.go(-1)"
|
||||
@close="$router.replace({ hash: undefined })"
|
||||
/>
|
||||
|
||||
<FilterBar
|
||||
|
|
|
@ -5,6 +5,7 @@ const log = require('why-is-node-running');
|
|||
|
||||
const argv = require('./argv');
|
||||
const initServer = require('./web/server');
|
||||
const http = require('./utils/http');
|
||||
|
||||
const knex = require('./knex');
|
||||
const fetchUpdates = require('./updates');
|
||||
|
@ -79,6 +80,12 @@ async function init() {
|
|||
await flushOrphanedMedia();
|
||||
}
|
||||
|
||||
if (argv.request) {
|
||||
const res = await http.get(argv.request);
|
||||
|
||||
console.log(res.status, res.body);
|
||||
}
|
||||
|
||||
const actorsFromFile = argv.actorsFile && await getFileEntries(argv.actorsFile);
|
||||
const actorNames = (argv.actors || []).concat(actorsFromFile || []);
|
||||
|
||||
|
|
Loading…
Reference in New Issue