mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2024-11-16 22:29:24 +08:00
Fixed some unimplemented login redirects on Inventory and Logs page when not logged in
This commit is contained in:
parent
b5beceff5f
commit
52f115c610
2 changed files with 3 additions and 0 deletions
|
@ -46,6 +46,7 @@ export default function Products() {
|
|||
} else if (error) {
|
||||
return (
|
||||
<div>
|
||||
<LoginChecker />
|
||||
<div style={styles.content_row}>
|
||||
<div style={{ ...styles.content_row, ...{ flex: 1 } }}>
|
||||
<div style={{ display: "flex", alignItems: "center", gap: 16 }}>
|
||||
|
@ -66,6 +67,7 @@ export default function Products() {
|
|||
}
|
||||
return (
|
||||
<div>
|
||||
<LoginChecker />
|
||||
<div style={styles.content_row}>
|
||||
<div style={{ ...styles.content_row, ...{ flex: 1 } }}>
|
||||
<div style={{ display: "flex", alignItems: "center", gap: 16 }}>
|
||||
|
|
|
@ -55,6 +55,7 @@ export default function Inventory() {
|
|||
} else if (error) {
|
||||
return (
|
||||
<div>
|
||||
<LoginChecker />
|
||||
<div style={styles.content_row}>
|
||||
<div style={{ ...styles.content_row, ...{ flex: 1 } }}>
|
||||
<div style={{ display: "flex", alignItems: "center", gap: 16 }}>
|
||||
|
|
Loading…
Reference in a new issue