apitable/apitable

fix: error message not friendly when create new team and team name duplicated

Open

#1 096 ouverte le 18 juil. 2023

Voir sur GitHub
 (1 commentaire) (0 réactions) (1 assigné)TypeScript (10 747 stars) (870 forks)batch import
buggood first issue

Description

Describe the bug Error message not friendly when a user creates a new team and the team name is duplicated. It shows the error: "team_is_exist_err". Should be shown just like "Duplicated team name"

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Setting -> Org -> Members & Teams'
  2. Click on 'Add Team'
  3. Enter the existing team name
  4. Click the 'OK' button

Expected behavior It shows a human-readable error about the team name duplicated

Screenshots

Desktop (please complete the following information):

  • Version: 114.0.5735.198
  • OS: macOS
  • Browser: Chrome

Guide contributeur