Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 7158 | Rev 7162 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 7158 Rev 7160
Línea 9... Línea 9...
9
import EmptySection from '../../components/UI/EmptySection'
9
import EmptySection from '../../components/UI/EmptySection'
10
import WidgetLayout from '../../components/widgets/WidgetLayout'
10
import WidgetLayout from '../../components/widgets/WidgetLayout'
11
import PaginationComponent from '../../components/UI/PaginationComponent'
11
import PaginationComponent from '../../components/UI/PaginationComponent'
Línea 12... Línea 12...
12
 
12
 
13
import ConfirmModal from '../../components/modals/ConfirmModal'
13
import ConfirmModal from '../../components/modals/ConfirmModal'
Línea 14... Línea 14...
14
import KnowledgeItem from '../knowledge-area/KnowledgeItem'
14
import QuestionCard from '../../components/my-coach/QuestionCard'
15
 
15
 
16
const CoachCategories = styled(WidgetLayout)`
16
const CoachCategories = styled(WidgetLayout)`
17
  padding: 1rem;
17
  padding: 1rem;
Línea 236... Línea 236...
236
              onChange={handleInputChange}
236
              onChange={handleInputChange}
237
              placeholder={labels.search}
237
              placeholder={labels.search}
238
            />
238
            />
239
            <QuestionsGrid className="mt-3">
239
            <QuestionsGrid className="mt-3">
240
              {questions.length ? (
240
              {questions.length ? (
241
                questions.map((knowledge, index) => (
241
                questions.map((question) => (
242
                  <KnowledgeItem
242
                  <QuestionCard
243
                    key={index}
243
                    key={question.uuid}
244
                    {...knowledge}
244
                    {...question}
245
                    onEdit={editQuestion}
245
                    onEdit={editQuestion}
246
                    onDelete={deleteQuestion}
246
                    onDelete={deleteQuestion}
247
                  />
247
                  />
248
                ))
248
                ))
249
              ) : (
249
              ) : (