Skip to content

Commit

Permalink
fix: study tags save issue fix and ct logo update
Browse files Browse the repository at this point in the history
  • Loading branch information
CS76 committed Jun 24, 2024
1 parent 7ba5fe7 commit 497471c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Actions/Study/UpdateStudy.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function update(Study $study, array $input)
])->save();

if (array_key_exists('tags_array', $input)) {
$study->syncTagsWithType(array_filter($input['tags_array']), 'Study');
$study->syncTagsWithType($input['tags_array'], 'Study');
}

$is_public = array_key_exists('is_public', $input) ? $input['is_public'] : $study->is_public;
Expand Down
2 changes: 2 additions & 0 deletions app/Console/Commands/PublishReleasedProjects.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ public function handle(PublishProject $publisher)
$release_date = Carbon::parse($project->release_date);
if ($release_date->isPast()) {
if (! is_null($project->doi) && ! $project->is_archived) {
// echo($project->identifier);
// echo("\r\n");
$publisher->publish($project);
Notification::send($project->owner, new DraftProcessedNotification($project));
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"spatie/laravel-permission": "^5.1",
"spatie/laravel-query-builder": "^5.6",
"spatie/laravel-support-bubble": "^1.2",
"spatie/laravel-tags": "^4.3",
"spatie/laravel-tags": "^4.6.1",
"spatie/laravel-welcome-notification": "^2.3.2",
"spatie/schema-org": "^3.11",
"tightenco/ziggy": "^1.0"
Expand Down
Binary file modified public/img/ct.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 497471c

Please sign in to comment.