forked from rojo-rbx/rojo
Move instigating source out of contributing paths (#253)
* Refactor contributing_paths into contributing_sources, deleting project node sources * Instead of changing contributing_paths, add instigating_source * Remove InstanceMetadata::project_node * Stop pushing project path to front of contributing_paths since it doesn't matter now * Remove accidental UI change for path display
This commit is contained in:
committed by
GitHub
parent
2025b8a494
commit
052ca52cc3
@@ -264,18 +264,11 @@ impl<F: ImfsFetcher> UiService<F> {
|
||||
}
|
||||
};
|
||||
|
||||
let project_node = match &metadata.project_node {
|
||||
None => HtmlContent::None,
|
||||
Some(node) => html! {
|
||||
<div>"project node: " { format!("{:?}", node) }</div>
|
||||
},
|
||||
};
|
||||
|
||||
let content = html! {
|
||||
<>
|
||||
<div>"ignore_unknown_instances: " { metadata.ignore_unknown_instances.to_string() }</div>
|
||||
<div>"instigating source: " { format!("{:?}", metadata.instigating_source) }</div>
|
||||
{ contributing_paths }
|
||||
{ project_node }
|
||||
</>
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user