Skip to content

Commit 49d5862

Browse files
authored
version 4.0.1 ready (#484)
1 parent 08501c5 commit 49d5862

File tree

5 files changed

+31
-4
lines changed

5 files changed

+31
-4
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
3+
use App\Configs;
4+
use Illuminate\Database\Migrations\Migration;
5+
6+
class BumpVersion extends Migration
7+
{
8+
/**
9+
* Run the migrations.
10+
*
11+
* @return void
12+
*/
13+
public function up()
14+
{
15+
Configs::where('key', 'version')->update(['value' => '040001']);
16+
}
17+
18+
/**
19+
* Reverse the migrations.
20+
*
21+
* @return void
22+
*/
23+
public function down()
24+
{
25+
Configs::where('key', 'version')->update(['value' => '040000']);
26+
}
27+
}

public/dist/main.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/dist/view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ header.setMode = function (mode) {
10881088

10891089
// Hide download button when album empty or we are not allowed to
10901090
// upload to it and it's not explicitly marked as downloadable.
1091-
if (!album.json || album.json.photos === false || !album.isUploadable() && album.json.downloadable === '0') {
1091+
if (!album.json || album.json.photos === false && album.json.albums && album.json.albums.length === 0 || !album.isUploadable() && album.json.downloadable === '0') {
10921092
$('#button_archive').hide();
10931093
} else {
10941094
$('#button_archive').show();

version.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.0
1+
4.0.1

0 commit comments

Comments
 (0)