Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
1ba4afdf08
|
|||
|
d764134513
|
@@ -19,7 +19,6 @@ export default class PlacePhotoUpload extends Component {
|
|||||||
|
|
||||||
@tracked file = null;
|
@tracked file = null;
|
||||||
@tracked uploadedPhoto = null;
|
@tracked uploadedPhoto = null;
|
||||||
@tracked status = '';
|
|
||||||
@tracked error = '';
|
@tracked error = '';
|
||||||
@tracked isPublishing = false;
|
@tracked isPublishing = false;
|
||||||
@tracked isDragging = false;
|
@tracked isDragging = false;
|
||||||
@@ -132,7 +131,6 @@ export default class PlacePhotoUpload extends Component {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.status = 'Publishing event...';
|
|
||||||
this.error = '';
|
this.error = '';
|
||||||
this.isPublishing = true;
|
this.isPublishing = true;
|
||||||
|
|
||||||
@@ -191,7 +189,6 @@ export default class PlacePhotoUpload extends Component {
|
|||||||
this.nostrData.store.add(event);
|
this.nostrData.store.add(event);
|
||||||
|
|
||||||
this.toast.show('Photo published successfully');
|
this.toast.show('Photo published successfully');
|
||||||
this.status = '';
|
|
||||||
|
|
||||||
// Clear out the file so user can upload more or be done
|
// Clear out the file so user can upload more or be done
|
||||||
this.file = null;
|
this.file = null;
|
||||||
@@ -206,7 +203,6 @@ export default class PlacePhotoUpload extends Component {
|
|||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.error = 'Failed to publish: ' + e.message;
|
this.error = 'Failed to publish: ' + e.message;
|
||||||
this.status = '';
|
|
||||||
} finally {
|
} finally {
|
||||||
this.isPublishing = false;
|
this.isPublishing = false;
|
||||||
}
|
}
|
||||||
@@ -222,12 +218,6 @@ export default class PlacePhotoUpload extends Component {
|
|||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if this.status}}
|
|
||||||
<div class="alert alert-info">
|
|
||||||
{{this.status}}
|
|
||||||
</div>
|
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
{{#if this.file}}
|
{{#if this.file}}
|
||||||
<div class="photo-grid">
|
<div class="photo-grid">
|
||||||
<PlacePhotoUploadItem
|
<PlacePhotoUploadItem
|
||||||
|
|||||||
@@ -1839,11 +1839,6 @@ button.create-place {
|
|||||||
color: #c00;
|
color: #c00;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alert-info {
|
|
||||||
background: #eef;
|
|
||||||
color: #00c;
|
|
||||||
}
|
|
||||||
|
|
||||||
.preview-group {
|
.preview-group {
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "marco",
|
"name": "marco",
|
||||||
"version": "1.20.2",
|
"version": "1.20.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "Unhosted maps app",
|
"description": "Unhosted maps app",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -39,8 +39,8 @@
|
|||||||
<meta name="msapplication-TileColor" content="#F6E9A6">
|
<meta name="msapplication-TileColor" content="#F6E9A6">
|
||||||
<meta name="msapplication-TileImage" content="/icons/icon-144.png">
|
<meta name="msapplication-TileImage" content="/icons/icon-144.png">
|
||||||
|
|
||||||
<script type="module" crossorigin src="/assets/main-D7SnY8s9.js"></script>
|
<script type="module" crossorigin src="/assets/main-CfJ9up1Y.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/main-9lfQuoS5.css">
|
<link rel="stylesheet" crossorigin href="/assets/main-CHuW_yI-.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user