config: fix toml move-to-workspace action
This commit is contained in:
parent
c921e2400e
commit
2a517f437a
3 changed files with 6 additions and 1 deletions
|
|
@ -75,6 +75,10 @@ impl Action {
|
|||
let workspace = get_workspace(&name);
|
||||
Box::new(move || s.show_workspace(workspace))
|
||||
}
|
||||
Action::MoveToWorkspace { name } => {
|
||||
let workspace = get_workspace(&name);
|
||||
Box::new(move || s.set_workspace(workspace))
|
||||
}
|
||||
Action::ConfigureConnector { con } => Box::new(move || {
|
||||
for c in connectors() {
|
||||
if con.match_.matches(c) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue