Skip to content

Commit

Permalink
Fix the group question pane is missing in turms-admin
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesChenX committed Oct 28, 2023
1 parent 1fbe09f commit e263e45
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 25 deletions.
12 changes: 6 additions & 6 deletions turms-admin/ui/src/components/pages/content/group/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
key="1"
:tab="$t('groupInfo')"
>
<content-group-info-pane />
<content-group-info-tabs />
</a-tab-pane>
<a-tab-pane
key="2"
Expand All @@ -25,7 +25,7 @@
key="4"
:tab="$t('groupEnrollment')"
>
<content-group-enrollment-pane />
<content-group-enrollment-tabs />
</a-tab-pane>
<a-tab-pane
key="5"
Expand All @@ -37,19 +37,19 @@
</template>

<script>
import ContentGroupInfoPane from './info/index.vue';
import ContentGroupInfoTabs from './info/index.vue';
import ContentGroupMemberPane from './content-group-member-pane.vue';
import ContentGroupBlocklistPane from './content-group-blocklist-pane.vue';
import ContentGroupEnrollmentPane from './entrollment/index.vue';
import ContentGroupEnrollmentTabs from './entrollment/index.vue';
import ContentGroupTypePane from './content-group-type-pane.vue';
export default {
name: 'content-group-tabs',
components: {
ContentGroupInfoPane,
ContentGroupInfoTabs,
ContentGroupMemberPane,
ContentGroupBlocklistPane,
ContentGroupEnrollmentPane,
ContentGroupEnrollmentTabs,
ContentGroupTypePane
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
key="1"
:tab="$t('basicInfo')"
>
<content-group-base-info-pane />
<content-group-info-pane />
</a-tab-pane>
<a-tab-pane
key="2"
Expand All @@ -19,13 +19,13 @@
</template>

<script>
import ContentGroupBaseInfoPane from './content-group-info-pane.vue';
import ContentGroupInfoPane from './content-group-info-pane.vue';
import ContentGroupQuestionPane from './content-group-question-pane.vue';
export default {
name: 'content-group-info-tabs',
components: {
ContentGroupBaseInfoPane,
ContentGroupInfoPane,
ContentGroupQuestionPane
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,22 +130,6 @@ export default {
loading: false,
parsedFormState: {},
showNoFieldForUpdateError: false,
formItemLayout: {
labelCol: {
xs: { span: 24 },
sm: { span: 4 }
},
wrapperCol: {
xs: { span: 24 },
sm: { span: 20 }
}
},
formItemLayoutWithOutLabel: {
wrapperCol: {
xs: { span: 24, offset: 0 },
sm: { span: 20, offset: 4 }
}
},
dynamicInputId: 1
};
},
Expand Down

0 comments on commit e263e45

Please sign in to comment.