feat: check tab before add

This commit is contained in:
puriphatt 2024-07-30 07:19:14 +00:00
parent 2c9f7ba02d
commit be397112f6
5 changed files with 103 additions and 62 deletions

View file

@ -994,7 +994,6 @@ async function fetchListEmployee() {
}
async function triggerChangeStatus(id: string, status: string) {
console.log('asd');
return await new Promise((resolve, reject) => {
dialog({
color: status !== 'INACTIVE' ? 'warning' : 'info',