Merge branch 'main' of http://113.45.157.195:3003/insiinc/re-mooc
This commit is contained in:
commit
6b535597fb
|
@ -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],
|
||||
|
|
|
@ -214,7 +214,7 @@ export default function MindEditor({ id }: { id?: string }) {
|
|||
multiple
|
||||
/>
|
||||
</Form.Item>
|
||||
{id ? <JoinButton></JoinButton> : <></>}
|
||||
{post && id ? <JoinButton></JoinButton> : <></>}
|
||||
</div>
|
||||
<div>
|
||||
{canEdit && (
|
||||
|
|
Loading…
Reference in New Issue