90f6389745
* Added getWorkspaceUsers API * Integrated workspace user API in UI * Integrated workspace user API in UI * Added toto for implementation slot * Implemenmted getWorkspaceUSers to get data from Focalboard DB * Updated store mocks * Made select styles a shared constant * Removed unwanted diffs * Removed unwanted diffs * Updated snapshots for new property type * Added user store test * Added missing copyright notice * Returning error if no users found to retain original behavior * Minor fixes and added tests * Minor fixes * Used React context for workspace users * Used useContext hook, and added additional user ID -> user context to avoid that computation by all componnets * Mergerd both workspace user contextx * Minor review fix
7 lines
197 B
Go
7 lines
197 B
Go
package app
|
|
|
|
import "github.com/mattermost/focalboard/server/model"
|
|
|
|
func (a *App) GetWorkspaceUsers(workspaceID string) ([]*model.User, error) {
|
|
return a.store.GetUsersByWorkspace(workspaceID)
|
|
}
|