fix: update MarkdownEditor component + restyle Button and other components

This commit is contained in:
Yassine Doghri 2021-09-21 15:51:04 +00:00
commit b05d177f1b
35 changed files with 176 additions and 115 deletions

View file

@ -128,12 +128,10 @@ class PodcastImportController extends BaseController
$nsPodcast->location->attributes()['osm'] === null ? null : (string) $nsPodcast->location->attributes()['osm'],
);
}
$guid = null;
if (property_exists($nsPodcast, 'guid') && $nsPodcast->guid !== null) {
$guid = (string) $nsPodcast->guid;
} else {
$guid = podcast_uuid(url_to('podcast_feed', $this->request->getPost('handle')));
}
$podcast = new Podcast([
'guid' => $guid,
'handle' => $this->request->getPost('handle'),