Skip to main content

unpin_block

Function unpin_block 

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

Unpin the pane that holds block_id. In its own tab (or with no dst_tab_id) only the pin goes. In another tab, the tab that is showing, the pane and all of its stack of pane tabs become a pane of that tab first, on the edge it was on; its own tab keeps its other panes.