main_view: set id to be non-required

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2020-07-05 23:39:10 +02:00
parent 5745a3bd6c
commit d0c7a16ac7

View File

@@ -21,7 +21,7 @@ widget!(MainView {
});
impl Template for MainView {
fn template(self, id: Entity, ctx: &mut BuildContext) -> Self {
fn template(self, _id: Entity, ctx: &mut BuildContext<'_>) -> Self {
let policycheck_view = PolicyCheckView::new()
//.policy_number_count(0)
//.policylist_view(id)