mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
fix: update URL rendering logic to check for record status instead of enabled flag
This commit is contained in:
parent
587d7c24cb
commit
b428bd264f
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ const columns: Column[] = [{
|
|||
dataIndex: 'urls',
|
||||
customRender: ({ text, record }) => {
|
||||
const template: JSXElements = []
|
||||
if (record.enabled) {
|
||||
if (record.status !== ConfigStatus.Disabled) {
|
||||
text?.forEach((url: string) => {
|
||||
const displayUrl = url.replace(/^https?:\/\//, '')
|
||||
template.push(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue