mirror of
https://github.com/outline/outline.git
synced 2025-03-28 14:34:35 +00:00
fix: Incorrect team usage in local development
This commit is contained in:
@ -157,7 +157,7 @@ export default class AuthStore extends Store<Team> {
|
||||
/** The current team */
|
||||
@computed
|
||||
get team() {
|
||||
return this.orderedData[0];
|
||||
return this.currentTeamId ? this.get(this.currentTeamId) : undefined;
|
||||
}
|
||||
|
||||
/** The current team's policies */
|
||||
|
Reference in New Issue
Block a user