Tweak empty state

It was expecting to be part of a table
pull/10616/head
Alex P 2017-04-27 18:15:38 -07:00
parent e477f082ff
commit 0fdd21ec4a
1 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,6 @@
import React, {PropTypes} from 'react'
import TemplateVariableRow from 'src/dashboards/components/TemplateVariableRow'
import EmptyRow from 'src/admin/components/EmptyRow'
const TemplateVariableTable = ({
source,
@ -34,7 +33,10 @@ const TemplateVariableTable = ({
))}
</div>
</div>
: <EmptyRow tableName={'Template Variables'} />}
: <div className="generic-empty-state">
<h4 style={{margin: '60px 0'}} className="no-user-select">You have no Template Variables, why not create one?</h4>
</div>
}
</div>
)