code7-leia 0.1.170 → 0.1.172
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/code7-leia.cjs.development.js +35 -14
- package/dist/code7-leia.cjs.development.js.map +1 -1
- package/dist/code7-leia.cjs.production.min.js +1 -1
- package/dist/code7-leia.cjs.production.min.js.map +1 -1
- package/dist/code7-leia.esm.js +35 -14
- package/dist/code7-leia.esm.js.map +1 -1
- package/dist/interface/Language.d.ts +4 -0
- package/package.json +1 -1
- package/src/components/FileArea/index.tsx +4 -4
- package/src/interface/Language.ts +4 -0
- package/src/store/modules/sagas.ts +1 -0
- package/src/utils/languages/en.ts +4 -0
- package/src/utils/languages/es.ts +4 -0
- package/src/utils/languages/pt-br.ts +4 -0
package/package.json
CHANGED
|
@@ -153,12 +153,12 @@ export const FileArea = () => {
|
|
|
153
153
|
) : <Table>
|
|
154
154
|
<thead>
|
|
155
155
|
<tr>
|
|
156
|
-
<th key="th_file_name" className="th_status">
|
|
157
|
-
{t.fileArea.status}
|
|
158
|
-
</th>
|
|
159
156
|
<th key="th_file_name" className="th_file_name">
|
|
160
157
|
{t.fileArea.fileName}
|
|
161
158
|
</th>
|
|
159
|
+
<th key="th_file_name" className="th_status">
|
|
160
|
+
{t.fileArea.status}
|
|
161
|
+
</th>
|
|
162
162
|
<th key="th_pressets" className="th_pressets">
|
|
163
163
|
{t.fileArea.presset}
|
|
164
164
|
</th>
|
|
@@ -171,8 +171,8 @@ export const FileArea = () => {
|
|
|
171
171
|
<tbody>
|
|
172
172
|
{files.map((object) => (
|
|
173
173
|
<tr>
|
|
174
|
-
<td>{object.trained ? <FaCheck size={14} style={{ color: 'green' }} /> : ''}</td>
|
|
175
174
|
<td>{object.name}</td>
|
|
175
|
+
<td>{object.trained ? <FaCheck size={14} style={{ color: 'green' }} /> : <TiDelete size={14} style={{ color: 'red' }} />}</td>
|
|
176
176
|
<td className='tags' dangerouslySetInnerHTML={{ __html: pressetTag(object.tags) }} />
|
|
177
177
|
<td>
|
|
178
178
|
<div className='divDelete'>
|
|
@@ -96,6 +96,7 @@ export function* TrainingSaga(action: any) {
|
|
|
96
96
|
|
|
97
97
|
const { data } = yield call(api.get, `/training/${id}`);
|
|
98
98
|
yield put(uploadFilesActionSuccess({ files: data.files }));
|
|
99
|
+
toast.success({title: t.toast.Train.fail.title, description: t.toast.Train.fail.description});
|
|
99
100
|
} catch (error) {
|
|
100
101
|
toast.error({title: t.toast.Train.fail.title, description: t.toast.Train.fail.description});
|
|
101
102
|
console.log('-----------TrainingSaga.error------------------->', error);
|