Skip to content

Commit

Permalink
align rectangular button and change the order of notes
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegMoshkovich committed Mar 24, 2023
1 parent 77c71ab commit b6ccd2a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/Components/Dialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ export default function Dialog({
sx={{
overflowY: 'hidden',
padding: '0em 0em 2em 0em',
display: 'flex',
justifyContent: 'center',
}}
>
<RectangularButton title={actionTitle} icon={actionIcon} onClick={actionCb}/>
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Notes/Notes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default function Notes() {
const fetchedNotes = []
const issues = await getIssues(repository, accessToken)
let issueIndex = 0
issues.slice(0).map((issue, index) => {
issues.slice(0).reverse().map((issue, index) => {
if (issue.body === null) {
debug().warn(`issue ${index} has no body: `, issue)
return null
Expand Down
1 change: 0 additions & 1 deletion src/Components/OpenModelControl.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ function OpenModelDialog({isDialogDisplayed, setIsDialogDisplayed, fileOpen, org

const navigateToFile = () => {
if (filesArr[selectedFileName].includes('.ifc')) {
// eslint-disable-next-line max-len
navigate({pathname: `/share/v/gh/${orgName}/${repoName}/main/${fileName}`})
}
}
Expand Down

0 comments on commit b6ccd2a

Please sign in to comment.