fix: Incorrect team usage in local development

This commit is contained in:
Tom Moor
2024-01-03 23:47:52 -05:00
parent 3c3ec45dc0
commit d2ef174a77

View File

@ -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 */