Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ export function OpenSchDialog (props) {
<Button
size="small"
color="primary"
onClick={() => { dispatch(fetchSchematic(sch.save_id)) }}
onClick={() => { dispatch(fetchSchematic(sch.save_id, sch.version, sch.branch)) }}
variant={schSave.details.save_id === undefined ? 'outlined' : schSave.details.save_id !== sch.save_id ? 'outlined' : 'contained'}
>
Launch
Expand Down
2 changes: 1 addition & 1 deletion eda-frontend/src/pages/SchematiEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default function SchematiEditor (props) {
console.log(props.location.search)
const cktid = query.get('id')
const version = query.get('version')
const branch = query.get('branch')
const branch = query.get('branch') || 'master'
console.log(cktid)
if (cktid.substr(0, 7) === 'gallery') {
// Loading Gallery schemaic.
Expand Down