debian-mirror-gitlab/app/assets/javascripts/set_status_modal/utils.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
181 B
JavaScript
Raw Normal View History

2022-10-11 01:57:18 +05:30
import { AVAILABILITY_STATUS } from './constants';
2021-01-29 00:20:46 +05:30
2021-03-11 19:13:27 +05:30
export const isUserBusy = (status = '') =>
Boolean(status.length && status.toLowerCase().trim() === AVAILABILITY_STATUS.BUSY);