This commit is contained in:
longdayi 2025-03-05 09:40:14 +08:00
commit 6b535597fb
2 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ export class InitService {
},
});
this.logger.log(`Created new taxonomy: ${taxonomy.name}`);
} else {
} else if(process.env.NODE_ENV === 'development'){
// Check for differences and update if necessary
const differences = Object.keys(taxonomy).filter(
(key) => taxonomy[key] !== existingTaxonomy[key],

View File

@ -214,7 +214,7 @@ export default function MindEditor({ id }: { id?: string }) {
multiple
/>
</Form.Item>
{id ? <JoinButton></JoinButton> : <></>}
{post && id ? <JoinButton></JoinButton> : <></>}
</div>
<div>
{canEdit && (