Skip to content

Refactor: Move NcNoteCard from question types to Question.vue #3254

@Chartman123

Description

@Chartman123

Currently there are 3 question types that have a NcNoteCard that is shown if the question has an error (grid, multiple, file).

For better maintainability the NcNoteCard should be moved to Question.vue.

File:

<NcNoteCard v-if="hasError" :id="errorId" type="error">
{{ errorMessage }}
</NcNoteCard>

Grid:

<NcNoteCard v-if="hasError" :id="errorId" type="error">
{{ errorMessage }}
</NcNoteCard>

Multiple:

<NcNoteCard v-if="hasError" :id="errorId" type="error">
{{ errorMessage }}
</NcNoteCard>

Metadata

Metadata

Assignees

Labels

1. to developAccepted and waiting to be taken care ofjavascriptJavascript related tickettechnical debtTechnical issue
No fields configured for Enhancement.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions