Begin work on the fate path dropdown
This commit is contained in:
parent
edd4e49f62
commit
f6ca694dcc
10 changed files with 82 additions and 21 deletions
|
|
@ -13,9 +13,8 @@ import { localizer } from "../utils/Localizer.mjs";
|
|||
* @param {any} meta
|
||||
*/
|
||||
export function options(selected, opts, meta) {
|
||||
const { localize = false } = meta;
|
||||
const { localize = false } = meta.hash;
|
||||
selected = Handlebars.escapeExpression(selected);
|
||||
|
||||
const htmlOptions = [];
|
||||
|
||||
for (let opt of opts) {
|
||||
|
|
@ -33,4 +32,5 @@ export function options(selected, opts, meta) {
|
|||
</option>`,
|
||||
);
|
||||
};
|
||||
return new Handlebars.SafeString(htmlOptions.join(`\n`));
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue