Welcome to mirror list, hosted at ThFree Co, Russian Federation.

utils.js « set_status_modal « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 950091195d2246a79c241243d5df45f92cc86073 (plain)
1
2
3
4
import { AVAILABILITY_STATUS } from './constants';

export const isUserBusy = (status = '') =>
  Boolean(status.length && status.toLowerCase().trim() === AVAILABILITY_STATUS.BUSY);