Skip to content

Commit

Permalink
Removed unused drop down
Browse files Browse the repository at this point in the history
  • Loading branch information
scottadkin committed Jun 14, 2024
1 parent a694f36 commit 2f6568d
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions pages/players.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ const loadData = async (signal, dispatch, nDispatch, nameSearch, page, perPage,

const renderTable = (state, dispatch, router) =>{

if(parseInt(state.displayType) !== 1) return;
//if(parseInt(state.displayType) !== 1) return;

const headers = [
{
Expand Down Expand Up @@ -297,7 +297,6 @@ const renderTable = (state, dispatch, router) =>{

];


return <div className="m-top-25">
<CustomTable width={1}
headers={headers}
Expand Down Expand Up @@ -446,19 +445,6 @@ const PlayersPage = ({host, session, pageSettings, navSettings, nameSearch, sele
setURL(router, state, "active", value);
}}
/>
<DropDown
dName="Display Type"
data={[
{"displayValue": "Default View", "value": 0},
{"displayValue": "Table View", "value": 1},
]}
selectedValue={state.displayType}
changeSelected={(name, value) => {
dispatch({"type": "changeDisplay", "value": value});
setURL(router, state, "display", value);
}}
/>

<DropDown
dName="Sort By"
data={[
Expand Down

0 comments on commit 2f6568d

Please sign in to comment.