1
0
Fork 0
forked from gitea/nas

Change referrer policy to be controlled by header in web UI (#33214)

This commit is contained in:
Eugen Rochko 2024-12-09 23:42:45 +01:00 committed by GitHub
parent 2e35b15b4d
commit 425311e1d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 51 additions and 50 deletions

View file

@ -24,7 +24,7 @@ export default class ActionsModal extends ImmutablePureComponent {
return (
<li key={`${text}-${i}`}>
<a href={href} target='_blank' rel='noopener noreferrer' onClick={this.props.onClick} data-index={i} className={classNames({ active })}>
<a href={href} target='_blank' rel='noopener' onClick={this.props.onClick} data-index={i} className={classNames({ active })}>
{icon && <IconButton title={text} icon={icon} iconComponent={iconComponent} role='presentation' tabIndex={-1} inverted />}
<div>
<div className={classNames({ 'actions-modal__item-label': !!meta })}>{text}</div>