add entry for ticket detail in current ticket card
This commit is contained in:
@@ -2,6 +2,7 @@ import { Component, ReactNode } from 'react';
|
||||
import NoteCard from '@/components/NoteCard/NoteCard';
|
||||
import { TicketNote } from '@/pages/TicketDetail/TicketNote';
|
||||
import { View } from '@tarojs/components';
|
||||
import { AtDivider } from 'taro-ui';
|
||||
|
||||
interface NoteListProps {
|
||||
noteList: Array<TicketNote>;
|
||||
@@ -14,6 +15,7 @@ export default class NoteList extends Component<NoteListProps, {}> {
|
||||
render(): ReactNode {
|
||||
return (
|
||||
<View>
|
||||
<AtDivider />
|
||||
{this.props.noteList.map((note, idx) => (
|
||||
<View key={idx}>
|
||||
<NoteCard note={note} />
|
||||
|
||||
Reference in New Issue
Block a user