summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-04-20 01:01:24 +0200
committerJules Laplace <julescarbon@gmail.com>2021-04-20 01:01:24 +0200
commit008f7f1cfe34a49259a35dad199566b664ce2e99 (patch)
tree799192c7853d7d88c56d3072fcf32998409ea1da
parented6fd8d909b4b44c37568d755229539dc51855fc (diff)
fix toggle popup links on tile list
-rw-r--r--frontend/app/views/tile/components/tile.list.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontend/app/views/tile/components/tile.list.js b/frontend/app/views/tile/components/tile.list.js
index 127ca52..20f319e 100644
--- a/frontend/app/views/tile/components/tile.list.js
+++ b/frontend/app/views/tile/components/tile.list.js
@@ -118,6 +118,8 @@ const TileListLink = ({ tile, pageTitles }) => (
? 'Open popup'
: tile.target_page_id === -3
? 'Close popup'
+ : tile.target_page_id === -4
+ ? 'Toggle popup'
: !tile.target_page_id
? 'No link specified!'
: tile.target_page_id in pageTitles