Skip to content

Commit 95e9fc6

Browse files
committed
Quick update for the suggester in prompt: takes best suggestion > input
1 parent 5477b16 commit 95e9fc6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "metaedit",
33
"name": "MetaEdit",
4-
"version": "1.7.0",
4+
"version": "1.7.1",
55
"minAppVersion": "0.12.0",
66
"description": "MetaEdit helps you manage your metadata.",
77
"author": "Christian B. B. Houmann",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "metaedit",
3-
"version": "1.7.0",
3+
"version": "1.7.1",
44
"description": "MetaEdit helps you manage your metadata.",
55
"main": "main.js",
66
"scripts": {

src/Modals/GenericPrompt/genericTextSuggester.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class GenericTextSuggester extends TextInputSuggest<string> {
1515
});
1616

1717
if (!filtered) this.close();
18-
if (filtered?.length === 1) return [inputStr, ...filtered]
18+
if (filtered?.length === 1) return [...filtered, inputStr];
1919
if (filtered?.length > 1) return filtered;
2020
}
2121

versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"1.7.0": "0.12.0"
2+
"1.7.1": "0.12.0"
33
}

0 commit comments

Comments
 (0)