Do not show retry button on token error
这个提交包含在:
父节点
ffa4cfa376
当前提交
b289a85b8a
共有 1 个文件被更改,包括 9 次插入 和 5 次删除
|
@ -141,11 +141,15 @@ function WebSectionList<ItemT, RawData>(props: Props<ItemT, RawData>) {
|
|||
<ErrorView
|
||||
status={status}
|
||||
code={code}
|
||||
button={{
|
||||
icon: 'refresh',
|
||||
text: i18n.t('general.retry'),
|
||||
onPress: () => refreshData(),
|
||||
}}
|
||||
button={
|
||||
code !== API_REQUEST_CODES.BAD_TOKEN
|
||||
? {
|
||||
icon: 'refresh',
|
||||
text: i18n.t('general.retry'),
|
||||
onPress: () => refreshData(),
|
||||
}
|
||||
: undefined
|
||||
}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
正在加载…
在新工单中引用