Skip to content

Commit

Permalink
Merge pull request #35 from leedrum/dev
Browse files Browse the repository at this point in the history
Fix issue display level progress on header
  • Loading branch information
leedrum authored Mar 28, 2023
2 parents 7cdcb84 + 0a8f781 commit 4d1c18d
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 11 deletions.
4 changes: 4 additions & 0 deletions change_log.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Faceit Exts - CHANGE LOG

[v.1.1.5](https://github.com/leedrum/faceit-exts/releases/tag/v1.1.5)

- Fix issue display level progress on header

[v.1.1.4](https://github.com/leedrum/faceit-exts/releases/tag/v1.1.4)

- Fix displaying issue elo progress on the header
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "faceit-exts",
"version": "1.1.4",
"version": "1.1.5",
"description": "Faceit Exts",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "Faceit Exts",
"version": "1.1.4",
"version": "1.1.5",
"description": "Faceit Exts is a extension improve experience and adds some features",
"background": { "service_worker": "background.bundle.js" },
"host_permissions": ["https://api.faceit.com/"],
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json.firefox
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Faceit Exts",
"description": "Faceit Exts is a extension improve experience and adds some features",
"version": "1.1.4",
"version": "1.1.5",
"manifest_version": 2,
"permissions": [
"https://api.faceit.com/",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Content/modules/header-level-progress/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const FeatureHeaderLevelProgress = async () => {
return
}

const mainHeaderActionsElement = document.querySelector('.fi-navbar__actions').querySelector('fi-navbar-actions').querySelector('parasite-main-header-actions').shadowRoot.querySelector('#__next').querySelector('div')
const mainHeaderActionsElement = document.querySelector('.main-header').querySelector('div').querySelector('parasite-main-header').shadowRoot.querySelector('#__next').querySelector('div')

if (!mainHeaderActionsElement) {
return
Expand Down
14 changes: 7 additions & 7 deletions src/pages/Popup/Popup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,23 +68,23 @@ const Popup = () => {
style={{width: '160px'}}
>
<Tab label="Automation" {...a11yProps(0)} />
<Tab label="Veto" {...a11yProps(1)} />
<Tab label="About" {...a11yProps(2)} />
<Tab label="Github" {...a11yProps(3)} />
{/* <Tab label="Veto" {...a11yProps(1)} /> */}
<Tab label="About" {...a11yProps(1)} />
<Tab label="Github" {...a11yProps(2)} />
</Tabs>
<TabPanel value={value} index={0}>
<AutomationComponent/>
</TabPanel>
<TabPanel value={value} index={1}>
{/* <TabPanel value={value} index={1}>
<Veto/>
</TabPanel>
</TabPanel> */}
{/* <TabPanel value={value} index={1}> */}
{/* <NotificationComponent/> */}
{/* </TabPanel> */}
<TabPanel value={value} index={2}>
<TabPanel value={value} index={1}>
<AboutComponent/>
</TabPanel>
<TabPanel value={value} index={3}>
<TabPanel value={value} index={2}>
<GithubComponent/>
</TabPanel>
</Box>
Expand Down

0 comments on commit 4d1c18d

Please sign in to comment.