Skip to content

Commit 068722a

Browse files
committed
fix: update labels to indicate required fields in metadata form
1 parent ee2c168 commit 068722a

File tree

1 file changed

+3
-4
lines changed
  • app/[locale]/dashboard/[entityType]/[entitySlug]/dataset/[id]/edit/components

1 file changed

+3
-4
lines changed

app/[locale]/dashboard/[entityType]/[entitySlug]/dataset/[id]/edit/components/EditMetadata.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ export function EditMetadata({ id }: { id: string }) {
214214
),
215215
{
216216
onSuccess: (res: any) => {
217-
218217
if (res.addUpdateDatasetMetadata.success) {
219218
toast('Details updated successfully!');
220219
queryClient.invalidateQueries({
@@ -507,7 +506,7 @@ export function EditMetadata({ id }: { id: string }) {
507506
key="description"
508507
multiline={4}
509508
name="description"
510-
label={'Description'}
509+
label="Description*"
511510
value={formData.description}
512511
helpText="Character limit: 1000"
513512
onChange={(e) => handleChange('description', e)}
@@ -517,7 +516,7 @@ export function EditMetadata({ id }: { id: string }) {
517516

518517
<Combobox
519518
displaySelected
520-
label="Sectors"
519+
label="Sectors*"
521520
list={getSectorsList.data?.sectors?.map(
522521
(item: TypeSector) => {
523522
return { label: item.name, value: item.id };
@@ -538,7 +537,7 @@ export function EditMetadata({ id }: { id: string }) {
538537
value: item.id,
539538
};
540539
})}
541-
label="Tags"
540+
label="Tags*"
542541
creatable
543542
onChange={(value) => {
544543
handleChange('tags', value);

0 commit comments

Comments
 (0)