Triply-Dev / YASGUI.YASR-deprecated

Deprecated, see https://github.com/TriplyDB/Yasgui for the Yasgui monorepo
MIT License
26 stars 22 forks source link

Fix outputs buttons behavior #118

Closed blolg closed 6 years ago

blolg commented 6 years ago

If the current output cannot handle the results the package selects an output that can handle them. But the outputs buttons are not updated and the selected button does not match to the selected output.

This updates the outputs buttons if the current output is not equal to the selected output. Also adds the 'disabled' attribute to the unsupported outputs buttons to prevent their selection.

blolg commented 6 years ago

@LaurensRietveld could you please look at this? Is there anything I need to add or change?

LaurensRietveld commented 6 years ago

sorry for the delay, thanks for the PR :+1: