Frontend: Fix download in photo viewer #895
This commit is contained in:
parent
7fe9d04b3d
commit
f6081d9b3f
1 changed files with 0 additions and 3 deletions
|
@ -38,7 +38,6 @@ import countries from "options/countries.json";
|
|||
import { $gettext } from "common/vm";
|
||||
import Clipboard from "common/clipboard";
|
||||
import download from "common/download";
|
||||
import Notify from "../common/notify";
|
||||
|
||||
export const SrcManual = "manual";
|
||||
export const CodecAvc1 = "avc1";
|
||||
|
@ -409,8 +408,6 @@ export class Photo extends RestModel {
|
|||
}
|
||||
|
||||
downloadAll() {
|
||||
Notify.success(this.$gettext("Downloading…"));
|
||||
|
||||
if (!this.Files) {
|
||||
download(
|
||||
`/api/v1/dl/${this.mainFileHash()}?t=${config.downloadToken()}`,
|
||||
|
|
Loading…
Reference in a new issue