Fixed improper dropdown func binding for #293 + toot button spacing

master
kibigo! 7 years ago
parent ad10a80a99
commit 6932b464e6
  1. 2
      app/javascript/flavours/glitch/components/dropdown_menu.js
  2. 1
      app/javascript/flavours/glitch/features/composer/publisher/index.js

@ -137,7 +137,7 @@ export default class Dropdown extends React.PureComponent {
(item, i) => item ? { (item, i) => item ? {
...item, ...item,
name: `${item.text}-${i}`, name: `${item.text}-${i}`,
onClick: this.handleItemClick.bind(i), onClick: this.handleItemClick.bind(this, i),
} : null } : null
), ),
}); });

@ -85,6 +85,7 @@ export default function ComposerPublisher ({
unlisted: 'unlock-alt', unlisted: 'unlock-alt',
}[privacy]} }[privacy]}
/> />
{' '}
<FormattedMessage {...messages.publish} /> <FormattedMessage {...messages.publish} />
</span> </span>
); );

Loading…
Cancel
Save