janvi01 / sql-editor

A web-based application that provides a SQL editor to run queries and display results.
https://sql-editor-online.vercel.app/
MIT License
9 stars 17 forks source link

Bug: If queryHistory List is empty, queryHistoryButton should be hidden #49

Closed aditya-armal closed 8 months ago

aditya-armal commented 8 months ago

Describe the bug If the queryHistory list is empty, the queryHistoryButton is still visible when it should be hidden.

To Reproduce Steps to reproduce the behavior:

Expected behavior If the queryHistory list is empty, the queryHistoryButton should be hidden.

Actual Behavior The queryHistoryButton remains visible even when the queryHistory list is empty.

Screenshots image

Desktop (please complete the following information): -Operating System: Windows 10 -Browser: Chrome, Firefox -Browser Version: 1.61.101

Additional context N.A

aditya-armal commented 8 months ago

Assign the Issue, Solution is Implemented, Will raise PR.

aditya-armal commented 8 months ago

@prash240303 can you assign this request to me and closing this issue as it has been completed and merged. Thanks!