Skip to content

Commit

Permalink
Merge pull request #1542 from pierotofy/augfix
Browse files Browse the repository at this point in the history
Safari Fixes, delete fix
  • Loading branch information
pierotofy authored Aug 19, 2024
2 parents 081604e + 783be78 commit 84a41a9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions app/static/app/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ html, body, section.main, .content, #wrapper, #page-wrapper{
margin-right: 12px;
position: relative;
top: -14px;

.map-view{
.map-type-selector{
top: 20px;
}
}
}

#iframe{
Expand Down Expand Up @@ -63,6 +69,8 @@ html, body, section.main, .content, #wrapper, #page-wrapper{
}

.navbar-top-links{
display: flex;
justify-content: flex-end;
clear: both;
a.dropdown-toggle{
color: white;
Expand Down
4 changes: 2 additions & 2 deletions app/static/app/js/components/TaskListItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ class TaskListItem extends React.Component {

this.setAutoRefresh();
})
.fail(( _, __, errorThrown) => {
if (errorThrown === "Not Found"){ // Don't translate this one
.fail((result, __, errorThrown) => {
if (result.status === 404 || errorThrown === "Not Found"){ // Don't translate this one
// Assume this has been deleted
if (this.props.onDelete) this.props.onDelete(this.state.task.id);
}else{
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"css-loader": "^0.25.0",
"d3": "^3.5.5",
"enzyme": "^3.3.0",
"cheerio": "1.0.0-rc.6",
"enzyme-adapter-react-16": "^1.15.1",
"exifr": "^6.0.0",
"fbemitter": "^2.1.1",
Expand Down

0 comments on commit 84a41a9

Please sign in to comment.