Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index overrides through interpolate_index do not work #297

Open
ghost opened this issue Jun 26, 2024 · 0 comments
Open

Index overrides through interpolate_index do not work #297

ghost opened this issue Jun 26, 2024 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 26, 2024

This code seems to be incomplete as it is using the template directly without substitutions.

dashR/R/dash.R

Lines 1967 to 1969 in d281e70

else if (length(private$template_index) == 1) {
private$.index <- private$template_index
}

Relatedly, index_string function also does not seem to be working because glue complains about missing title variable.

dashR/R/dash.R

Lines 1961 to 1965 in d281e70

if (!is.null(private$custom_index)) {
string_index <- glue::glue(private$custom_index, .open = "{%", .close = "%}")
private$.index <- string_index
}

@ghost ghost changed the title Index overrides do not work Index overrides through interpolate_index do not work Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants