Skip to content
This repository was archived by the owner on May 16, 2023. It is now read-only.

Commit a345d15

Browse files
committed
Disables version selector when user is logged out
1 parent e483b3c commit a345d15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/main-column/main-column.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export class MainColumnComponent extends GraphExplorerComponent implements After
151151
152152
Because of the limitation mentioned above we have to manually get a reference to the button and disable it.
153153
*/
154-
const selectElement = this._httpMethodEl.element.nativeElement.children[1];
154+
const selectElement = this._httpMethodEl.element.nativeElement.children[0];
155155
const selectElementButton = selectElement && selectElement.children[0];
156156
const hasDisabledAttribute = !!selectElementButton && selectElementButton.hasAttribute('disabled');
157157

0 commit comments

Comments
 (0)