mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-18 07:52:23 +01:00
[bug] unable to open some modals when the logo was undefined
This commit is contained in:
parent
522df1ccd7
commit
4c313d180b
@ -2,6 +2,7 @@
|
||||
|
||||
- Fix a bug: unable to export members list if no subscriptions was taken
|
||||
- Fix a bug: most OpenAPI endpoints were dysfunctional
|
||||
- Fix a bug: unable to open some modals when the logo was undefined
|
||||
|
||||
## v5.0.6 2021 June 21
|
||||
|
||||
|
@ -74,8 +74,8 @@ export const FabModal: React.FC<FabModalProps> = ({ title, isOpen, toggleModal,
|
||||
onRequestClose={toggleModal}>
|
||||
<div className="fab-modal-header">
|
||||
<Loader>
|
||||
<img src={blackLogo.custom_asset_file_attributes.attachment_url}
|
||||
alt={blackLogo.custom_asset_file_attributes.attachment}
|
||||
<img src={blackLogo?.custom_asset_file_attributes?.attachment_url}
|
||||
alt={blackLogo?.custom_asset_file_attributes?.attachment}
|
||||
className="modal-logo" />
|
||||
</Loader>
|
||||
<h1>{ title }</h1>
|
||||
|
Loading…
x
Reference in New Issue
Block a user