Skip to content
Snippets Groups Projects
Commit 851875e8 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

fix stale reference to card.isDirty() which was removed.

parent 1dc2b783
No related branches found
No related tags found
No related merge requests found
......@@ -9,9 +9,8 @@ var QueryModeToggle = React.createClass({
},
render: function () {
// only render if the card is NEW && unmodified
// TODO: @allen i'm not sure this is working
// TODO: need to add in check for card.isDirty
if (this.props.card.id !== undefined ||
this.props.card.isDirty() ||
!this.props.card.dataset_query) {
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment