Commit aaa5212c authored by Zac Wood's avatar Zac Wood

Fix "populate calendar button" not working

also remove console.logs
parent f76bdff6
Pipeline #4679 passed with stage
in 2 minutes and 47 seconds
# Ignore bundler config.
/.bundle
# Ignore the default SQLite database.
/db/*.sqlite3
/db/*.sqlite3-journal
# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep
/node_modules
/yarn-error.log
.byebug_history
/public/packs
/public/packs-test
/node_modules
yarn-debug.log*
.yarn-integrity
coverage
\ No newline at end of file
......@@ -33,7 +33,7 @@ export default class QuickAdd extends React.Component {
autoComplete="off"
/>
<div className="input-group-append">
<button type="submit" className="btn btn-primary" type="button">
<button type="submit" className="btn btn-primary" type="button" onClick={this.add}>
Populate Calendar
</button>
</div>
......
......@@ -13,7 +13,6 @@ export default class Section extends React.Component {
if (this.props.readOnly) return;
console.log(e.target.tagName);
if (e.target.tagName === 'A') return; // if we clicked on a link, don't add the section to the cart
Cart.toggleCrn(this.props.crn);
......
......@@ -46,8 +46,6 @@ class CustomToolbar extends Toolbar {
}
navigate = action => {
console.log(action);
this.props.onNavigate(action);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment