Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Commit 17f5271

Browse files
committed
fix: location in database, release 1.2.0
1 parent 190d3a7 commit 17f5271

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ ipcMain.on('upload', (event, arg) => {
105105
filename: filename,
106106
photographer: arg.photographer,
107107
category: arg.category,
108-
location: arg.location,
108+
location: arg.location.charAt(0).toUpperCase() + arg.location.slice(1),
109109
camera: arg.camera_model
110110
}]);
111111

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"homepage": "https://muetab.com",
88
"license": "MIT",
99
"author": "The Mue Authors (https://github.com/mue/uploader/graphs/contributors)",
10-
"version": "1.1.0",
10+
"version": "1.2.0",
1111
"description": "Image uploading utility for Mue",
1212
"build": {
1313
"productName": "Mue Uploader",

public/assets/js/dropdown.js

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const getDropdown = async () => {
4949
const categories = await (await fetch(config.api_url + '/images/categories')).json();
5050
categories.forEach((element) => {
5151
const option = document.createElement('option');
52+
// make it look nice, Nature instead of nature for example
5253
option.text = element.charAt(0).toUpperCase() + element.slice(1);
5354
categorydropdown.add(option);
5455
});

0 commit comments

Comments
 (0)