fix error message format when long query timeout (#3823)

This commit is contained in:
Grace Guo
2017-11-09 19:07:49 -08:00
committed by GitHub
parent cbcc00c929
commit 330926c167

View File

@@ -62,7 +62,7 @@ export default function chartReducer(charts = {}, action) {
return { ...state,
chartStatus: 'failed',
chartAlert: (
"<strong>{t('Query timeout')}</strong> - " +
`<strong>${t('Query timeout')}</strong> - ` +
t(`visualization queries are set to timeout at ${action.timeout} seconds. `) +
t('Perhaps your data has grown, your database is under unusual load, ' +
'or you are simply querying a data source that is too large ' +