mirror of
https://github.com/urbit/shrub.git
synced 2024-12-02 08:55:07 +03:00
link fe: support empty unmanaged groups
This commit is contained in:
parent
c71e5315e9
commit
6966aa0df3
@ -103,9 +103,9 @@ export class NewScreen extends Component {
|
||||
return;
|
||||
}
|
||||
|
||||
const target = aud.length === 0
|
||||
? {group: state.groups[0]}
|
||||
: {ships: aud};
|
||||
const target = state.groups.length === 0
|
||||
? {ships: aud}
|
||||
: {group: state.groups[0]};
|
||||
|
||||
if (this.textarea) {
|
||||
this.textarea.value = '';
|
||||
|
Loading…
Reference in New Issue
Block a user