0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 00:22:47 +00:00

Notification about Chrome PDF missing letters bug

Changed DISMISS KEY to current date to make popup appear again.
This commit is contained in:
Trevor Buckner
2019-02-07 12:19:38 -05:00
committed by GitHub
parent b82aac4a5a
commit 1219f64cb3

View File

@@ -4,7 +4,7 @@ const createClass = require('create-react-class');
const _ = require('lodash');
const cx = require('classnames'); //Unused variable
const DISMISS_KEY = 'dismiss_notification';
const DISMISS_KEY = 'dismiss_notification2-7-19';
const NotificationPopup = createClass({
getInitialState : function() {
@@ -20,6 +20,15 @@ const NotificationPopup = createClass({
window.removeEventListener('resize', this.checkNotifications);
},
notifications : {
psa : function(){
return <li key='psa'>
<em>Known bug: Missing letters in PDF </em> <br />
With the latest Chrome update, certain characters appear as blank spaces when generating a PDF. &nbsp;
<a target='_blank' href='https://www.reddit.com/r/homebrewery/comments/ao5yt2/psa_missing_letters_on_pdf/'>
See this Reddit post
</a> for updates and possible workarounds.
</li>;
},
faq : function(){
return <li key='faq'>
<em>Protect your work! </em> <br />