aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-09-05 10:57:34 -0700
committerAnton Tananaev <anton@traccar.org>2022-09-05 10:57:34 -0700
commitffef2c928a8fd4d3903c64a4183e8d138c85bba3 (patch)
treeb94d042e50c95ea76cd66a43e8de42c630b88d27 /modern
parent842fd239a101e8c8ecbdb7da7a6efbfc83d3ad00 (diff)
downloadtrackermap-web-ffef2c928a8fd4d3903c64a4183e8d138c85bba3.tar.gz
trackermap-web-ffef2c928a8fd4d3903c64a4183e8d138c85bba3.tar.bz2
trackermap-web-ffef2c928a8fd4d3903c64a4183e8d138c85bba3.zip
Fix computed attributes
Diffstat (limited to 'modern')
-rw-r--r--modern/src/settings/ComputedAttributesPage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/settings/ComputedAttributesPage.js b/modern/src/settings/ComputedAttributesPage.js
index fd5245a7..d9b2786d 100644
--- a/modern/src/settings/ComputedAttributesPage.js
+++ b/modern/src/settings/ComputedAttributesPage.js
@@ -73,7 +73,7 @@ const ComputedAttributesPage = () => {
)) : (<TableShimmer columns={administrator ? 5 : 4} endAction={administrator} />)}
</TableBody>
</Table>
- <CollectionFab editPath="/settings/attribute" />
+ <CollectionFab editPath="/settings/attribute" disabled={!administrator} />
</PageLayout>
);
};