mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-09-13 07:22:16 +00:00
disable field not in use
This commit is contained in:
parent
3a767cec56
commit
fd419e2de1
@ -170,7 +170,7 @@ impl Page {
|
|||||||
self.meta.replace(Meta {
|
self.meta.replace(Meta {
|
||||||
status: Some(Status::Reload),
|
status: Some(Status::Reload),
|
||||||
title: Some(gformat!("Loading..")),
|
title: Some(gformat!("Loading..")),
|
||||||
description: None,
|
//description: None,
|
||||||
});
|
});
|
||||||
|
|
||||||
self.action_update.activate(Some(&id));
|
self.action_update.activate(Some(&id));
|
||||||
@ -196,7 +196,7 @@ impl Page {
|
|||||||
self.meta.replace(Meta {
|
self.meta.replace(Meta {
|
||||||
status: Some(status),
|
status: Some(status),
|
||||||
title: Some(title),
|
title: Some(title),
|
||||||
description: Some(description),
|
//description: Some(description),
|
||||||
});
|
});
|
||||||
|
|
||||||
// Update window
|
// Update window
|
||||||
@ -479,7 +479,7 @@ impl Page {
|
|||||||
meta.replace(Meta {
|
meta.replace(Meta {
|
||||||
status: Some(status),
|
status: Some(status),
|
||||||
title: Some(title),
|
title: Some(title),
|
||||||
description: Some(description),
|
//description: Some(description),
|
||||||
});
|
});
|
||||||
|
|
||||||
// Update page
|
// Update page
|
||||||
@ -531,7 +531,7 @@ impl Page {
|
|||||||
meta.replace(Meta {
|
meta.replace(Meta {
|
||||||
status: Some(status),
|
status: Some(status),
|
||||||
title: Some(title),
|
title: Some(title),
|
||||||
description: Some(description),
|
//description: Some(description),
|
||||||
});
|
});
|
||||||
|
|
||||||
// Update window
|
// Update window
|
||||||
@ -573,7 +573,7 @@ impl Page {
|
|||||||
meta.replace(Meta {
|
meta.replace(Meta {
|
||||||
status: Some(status),
|
status: Some(status),
|
||||||
title: Some(title),
|
title: Some(title),
|
||||||
description: Some(description),
|
//description: Some(description),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -596,7 +596,7 @@ impl Page {
|
|||||||
meta.replace(Meta {
|
meta.replace(Meta {
|
||||||
status: Some(status),
|
status: Some(status),
|
||||||
title: Some(title),
|
title: Some(title),
|
||||||
description: Some(description),
|
//description: Some(description),
|
||||||
});
|
});
|
||||||
|
|
||||||
// Update window
|
// Update window
|
||||||
@ -673,7 +673,7 @@ impl Page {
|
|||||||
meta.replace(Meta {
|
meta.replace(Meta {
|
||||||
status: Some(status),
|
status: Some(status),
|
||||||
title: Some(title),
|
title: Some(title),
|
||||||
description: Some(description),
|
//description: Some(description),
|
||||||
});
|
});
|
||||||
|
|
||||||
// Update window
|
// Update window
|
||||||
@ -696,7 +696,7 @@ impl Page {
|
|||||||
meta.replace(Meta {
|
meta.replace(Meta {
|
||||||
status: Some(status),
|
status: Some(status),
|
||||||
title: Some(title),
|
title: Some(title),
|
||||||
description: Some(description),
|
//description: Some(description),
|
||||||
});
|
});
|
||||||
|
|
||||||
// Update window
|
// Update window
|
||||||
@ -719,7 +719,7 @@ impl Page {
|
|||||||
meta.replace(Meta {
|
meta.replace(Meta {
|
||||||
status: Some(status),
|
status: Some(status),
|
||||||
title: Some(title),
|
title: Some(title),
|
||||||
description: Some(description),
|
//description: Some(description),
|
||||||
});
|
});
|
||||||
|
|
||||||
// Update window
|
// Update window
|
||||||
|
@ -19,7 +19,7 @@ pub enum Status {
|
|||||||
|
|
||||||
pub struct Meta {
|
pub struct Meta {
|
||||||
pub title: Option<GString>,
|
pub title: Option<GString>,
|
||||||
pub description: Option<GString>,
|
//pub description: Option<GString>,
|
||||||
pub status: Option<Status>,
|
pub status: Option<Status>,
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -27,7 +27,7 @@ impl Meta {
|
|||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
Self {
|
Self {
|
||||||
title: None,
|
title: None,
|
||||||
description: None,
|
//description: None,
|
||||||
status: None,
|
status: None,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user