Indexing: Add "Groom metadata" option to UI
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
559da16f23
commit
592a6eac7a
|
@ -30,13 +30,19 @@
|
|||
:label="labels.convertRaw"
|
||||
></v-checkbox>
|
||||
<v-checkbox
|
||||
v-if="!readonly"
|
||||
class="ma-0 pa-0"
|
||||
v-model="options.createThumbs"
|
||||
color="secondary-dark"
|
||||
:disabled="busy"
|
||||
:label="labels.createThumbs"
|
||||
></v-checkbox>
|
||||
<v-checkbox
|
||||
class="ma-0 pa-0"
|
||||
v-model="options.groomMetadata"
|
||||
color="secondary-dark"
|
||||
:disabled="busy"
|
||||
:label="labels.groomMetadata"
|
||||
></v-checkbox>
|
||||
|
||||
<v-btn
|
||||
:disabled="busy"
|
||||
|
@ -75,11 +81,13 @@
|
|||
skipUnchanged: true,
|
||||
createThumbs: false,
|
||||
convertRaw: false,
|
||||
groomMetadata: false,
|
||||
},
|
||||
labels: {
|
||||
skipUnchanged: this.$gettext("Skip unchanged files"),
|
||||
createThumbs: this.$gettext("Pre-render thumbnails"),
|
||||
convertRaw: this.$gettext("Convert RAW to JPEG"),
|
||||
groomMetadata: this.$gettext("Groom metadata and estimate locations"),
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
@ -4,4 +4,5 @@ type IndexerOptions struct {
|
|||
SkipUnchanged bool `json:"skipUnchanged"`
|
||||
CreateThumbs bool `json:"createThumbs"`
|
||||
ConvertRaw bool `json:"convertRaw"`
|
||||
GroomMetadata bool `json:"groomMetadata"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user