mirror of
https://github.com/lemeow125/Ivy-Frontend.git
synced 2024-11-17 06:39:25 +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) {
|
} else if (error) {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
|
<LoginChecker />
|
||||||
<div style={styles.content_row}>
|
<div style={styles.content_row}>
|
||||||
<div style={{ ...styles.content_row, ...{ flex: 1 } }}>
|
<div style={{ ...styles.content_row, ...{ flex: 1 } }}>
|
||||||
<div style={{ display: "flex", alignItems: "center", gap: 16 }}>
|
<div style={{ display: "flex", alignItems: "center", gap: 16 }}>
|
||||||
|
@ -66,6 +67,7 @@ export default function Products() {
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
|
<LoginChecker />
|
||||||
<div style={styles.content_row}>
|
<div style={styles.content_row}>
|
||||||
<div style={{ ...styles.content_row, ...{ flex: 1 } }}>
|
<div style={{ ...styles.content_row, ...{ flex: 1 } }}>
|
||||||
<div style={{ display: "flex", alignItems: "center", gap: 16 }}>
|
<div style={{ display: "flex", alignItems: "center", gap: 16 }}>
|
||||||
|
|
|
@ -55,6 +55,7 @@ export default function Inventory() {
|
||||||
} else if (error) {
|
} else if (error) {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
|
<LoginChecker />
|
||||||
<div style={styles.content_row}>
|
<div style={styles.content_row}>
|
||||||
<div style={{ ...styles.content_row, ...{ flex: 1 } }}>
|
<div style={{ ...styles.content_row, ...{ flex: 1 } }}>
|
||||||
<div style={{ display: "flex", alignItems: "center", gap: 16 }}>
|
<div style={{ display: "flex", alignItems: "center", gap: 16 }}>
|
||||||
|
|
Loading…
Reference in a new issue