Recupera la versión con valor propio en activos

This commit is contained in:
Manuel Cillero 2023-07-06 18:29:01 +02:00
parent 4673b82a93
commit f85a35b5f4
5 changed files with 33 additions and 25 deletions

View file

@ -29,9 +29,9 @@ impl ComponentTrait for Icon {
}
fn before_prepare_component(&mut self, cx: &mut Context) {
cx.alter(ContextOp::AddStyleSheet(StyleSheet::located(
"/minimal/icons/bootstrap-icons.css?v=1.8.2",
)));
cx.alter(ContextOp::AddStyleSheet(
StyleSheet::located("/minimal/icons/bootstrap-icons.css").with_version("1.8.2"),
));
}
fn prepare_component(&self, _: &mut Context) -> PrepareMarkup {