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}`);
|
this.logger.log(`Created new taxonomy: ${taxonomy.name}`);
|
||||||
} else {
|
} else if(process.env.NODE_ENV === 'development'){
|
||||||
// Check for differences and update if necessary
|
// Check for differences and update if necessary
|
||||||
const differences = Object.keys(taxonomy).filter(
|
const differences = Object.keys(taxonomy).filter(
|
||||||
(key) => taxonomy[key] !== existingTaxonomy[key],
|
(key) => taxonomy[key] !== existingTaxonomy[key],
|
||||||
|
|
|
@ -214,7 +214,7 @@ export default function MindEditor({ id }: { id?: string }) {
|
||||||
multiple
|
multiple
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
{id ? <JoinButton></JoinButton> : <></>}
|
{post && id ? <JoinButton></JoinButton> : <></>}
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
{canEdit && (
|
{canEdit && (
|
||||||
|
|
Loading…
Reference in New Issue