File tree Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Expand file tree Collapse file tree 1 file changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -16,23 +16,10 @@ defmodule AtomicWeb.Config do
16
16
if has_permissions? ( current_user , current_organization ) do
17
17
admin_pages ( current_organization )
18
18
else
19
- user_pages ( )
19
+ default_pages ( )
20
20
end
21
21
end
22
22
23
- def user_pages do
24
- default_pages ( ) ++
25
- [
26
- % {
27
- key: :scanner ,
28
- title: "Scanner" ,
29
- icon: "hero-qr-code" ,
30
- url: ~p" /scanner" ,
31
- tabs: [ ]
32
- }
33
- ]
34
- end
35
-
36
23
def admin_pages ( current_organization ) do
37
24
default_pages ( ) ++
38
25
[
@@ -56,13 +43,6 @@ defmodule AtomicWeb.Config do
56
43
icon: "hero-user-group" ,
57
44
url: ~p" /organizations/#{ current_organization } /partners" ,
58
45
tabs: [ ]
59
- } ,
60
- % {
61
- key: :scanner ,
62
- title: "Scanner" ,
63
- icon: "hero-qr-code" ,
64
- url: ~p" /scanner" ,
65
- tabs: [ ]
66
46
}
67
47
]
68
48
end
You can’t perform that action at this time.
0 commit comments