implement tab pin action

This commit is contained in:
yggverse 2024-10-11 06:24:06 +03:00
parent 575ef01802
commit fb8ef48917
2 changed files with 5 additions and 9 deletions

View file

@ -56,10 +56,6 @@ impl Item {
}
// Actions
pub fn pin(&self) {
//self.label.pin(!self.label.is_pinned()) // toggle
}
pub fn page_navigation_base(&self) {
self.page.navigation_base()
}
@ -169,7 +165,7 @@ impl Item {
is_selected,
) {
Ok(_) => {
let id = Database::last_insert_id(transaction);
let _id = Database::last_insert_id(transaction);
// Delegate save action to childs