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"
|
:title="actor.name"
|
||||||
:portrait="true"
|
:portrait="true"
|
||||||
:comments="true"
|
:comments="true"
|
||||||
@close="$router.go(-1)"
|
@close="$router.replace({ hash: undefined })"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div class="actor-content">
|
<div class="actor-content">
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
:items="[release.poster, ...release.photos]"
|
:items="[release.poster, ...release.photos]"
|
||||||
:title="release.title"
|
:title="release.title"
|
||||||
:path="config.media.mediaPath"
|
:path="config.media.mediaPath"
|
||||||
@close="$router.go(-1)"
|
@close="$router.replace({ hash: undefined })"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div class="info column">
|
<div class="info column">
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
:title="tag.name"
|
:title="tag.name"
|
||||||
:local="true"
|
:local="true"
|
||||||
class="portrait"
|
class="portrait"
|
||||||
@close="$router.go(-1)"
|
@close="$router.replace({ hash: undefined })"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<FilterBar
|
<FilterBar
|
||||||
|
|
|
@ -5,6 +5,7 @@ const log = require('why-is-node-running');
|
||||||
|
|
||||||
const argv = require('./argv');
|
const argv = require('./argv');
|
||||||
const initServer = require('./web/server');
|
const initServer = require('./web/server');
|
||||||
|
const http = require('./utils/http');
|
||||||
|
|
||||||
const knex = require('./knex');
|
const knex = require('./knex');
|
||||||
const fetchUpdates = require('./updates');
|
const fetchUpdates = require('./updates');
|
||||||
|
@ -79,6 +80,12 @@ async function init() {
|
||||||
await flushOrphanedMedia();
|
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 actorsFromFile = argv.actorsFile && await getFileEntries(argv.actorsFile);
|
||||||
const actorNames = (argv.actors || []).concat(actorsFromFile || []);
|
const actorNames = (argv.actors || []).concat(actorsFromFile || []);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue