diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 1b56f37fc74..1ff22ed94ac 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -23,7 +23,7 @@ This serves two purposes: - for now removed features. ### Fixed -- for any bug fixes. +- Fixed icons not being considered as images by dashboard viewer in https://github.com/hydephp/develop/pull/1512 ### Security - in case of vulnerabilities. diff --git a/packages/realtime-compiler/resources/dashboard.blade.php b/packages/realtime-compiler/resources/dashboard.blade.php index 434ef0e2cd0..1c2f1086e1f 100644 --- a/packages/realtime-compiler/resources/dashboard.blade.php +++ b/packages/realtime-compiler/resources/dashboard.blade.php @@ -292,7 +292,7 @@ @foreach(\Hyde\Support\Filesystem\MediaFile::all() as $mediaFile)
- @if(in_array($mediaFile->getExtension(), ['svg', 'png', 'jpg', 'jpeg', 'gif'])) + @if(in_array($mediaFile->getExtension(), ['svg', 'png', 'jpg', 'jpeg', 'gif', 'ico'])) {{ $mediaFile->getName() }} @else