Skip to content

Commit

Permalink
version 4.0.1 ready (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria authored Apr 19, 2020
1 parent 08501c5 commit 49d5862
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 4 deletions.
27 changes: 27 additions & 0 deletions database/migrations/2020_04_19_122905_bump_version.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

use App\Configs;
use Illuminate\Database\Migrations\Migration;

class BumpVersion extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Configs::where('key', 'version')->update(['value' => '040001']);
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Configs::where('key', 'version')->update(['value' => '040000']);
}
}
2 changes: 1 addition & 1 deletion public/Lychee-front
2 changes: 1 addition & 1 deletion public/dist/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/dist/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ header.setMode = function (mode) {

// Hide download button when album empty or we are not allowed to
// upload to it and it's not explicitly marked as downloadable.
if (!album.json || album.json.photos === false || !album.isUploadable() && album.json.downloadable === '0') {
if (!album.json || album.json.photos === false && album.json.albums && album.json.albums.length === 0 || !album.isUploadable() && album.json.downloadable === '0') {
$('#button_archive').hide();
} else {
$('#button_archive').show();
Expand Down
2 changes: 1 addition & 1 deletion version.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.0
4.0.1

0 comments on commit 49d5862

Please sign in to comment.