Skip to main content

remove_block_from_layout

Function remove_block_from_layout 

Source
pub(crate) async fn remove_block_from_layout(
    state: &AppState,
    tab_id: &str,
    block_id: &str,
) -> Result<(), String>
Expand description

Take block_id out of its tab’s layout in srv (one member of a stack, or its pane): LayoutDeleteNodeByBlock, stored and published. A block in no pane is a no-op.