Julian Bilcke
commited on
Commit
Β·
3a344af
1
Parent(s):
4ed62fb
quick fix
Browse files
src/app/interface/bottom-bar/bottom-bar.tsx
CHANGED
|
@@ -30,7 +30,7 @@ function BottomBar() {
|
|
| 30 |
|
| 31 |
const preset = useStore(s => s.preset)
|
| 32 |
|
| 33 |
-
const canSeeBetaFeatures =
|
| 34 |
|
| 35 |
const allStatus = Object.values(panelGenerationStatus)
|
| 36 |
const remainingImages = allStatus.reduce((acc, s) => (acc + (s ? 1 : 0)), 0)
|
|
@@ -176,13 +176,6 @@ function BottomBar() {
|
|
| 176 |
</Button>
|
| 177 |
</div>
|
| 178 |
*/}
|
| 179 |
-
|
| 180 |
-
{/*
|
| 181 |
-
|
| 182 |
-
let's disable project saving/loading for now:
|
| 183 |
-
the priority is to repair the comic factory
|
| 184 |
-
--------
|
| 185 |
-
|
| 186 |
{canSeeBetaFeatures ? <Button
|
| 187 |
onClick={openFilePicker}
|
| 188 |
disabled={remainingImages > 0}
|
|
@@ -191,7 +184,6 @@ function BottomBar() {
|
|
| 191 |
onClick={downloadClap}
|
| 192 |
disabled={remainingImages > 0}
|
| 193 |
>
|
| 194 |
-
*/}
|
| 195 |
{remainingImages ? `${allStatus.length - remainingImages}/${allStatus.length} β` : `Save`}
|
| 196 |
</Button> : null}
|
| 197 |
|
|
|
|
| 30 |
|
| 31 |
const preset = useStore(s => s.preset)
|
| 32 |
|
| 33 |
+
const canSeeBetaFeatures = false // getParam<boolean>("beta", false)
|
| 34 |
|
| 35 |
const allStatus = Object.values(panelGenerationStatus)
|
| 36 |
const remainingImages = allStatus.reduce((acc, s) => (acc + (s ? 1 : 0)), 0)
|
|
|
|
| 176 |
</Button>
|
| 177 |
</div>
|
| 178 |
*/}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 179 |
{canSeeBetaFeatures ? <Button
|
| 180 |
onClick={openFilePicker}
|
| 181 |
disabled={remainingImages > 0}
|
|
|
|
| 184 |
onClick={downloadClap}
|
| 185 |
disabled={remainingImages > 0}
|
| 186 |
>
|
|
|
|
| 187 |
{remainingImages ? `${allStatus.length - remainingImages}/${allStatus.length} β` : `Save`}
|
| 188 |
</Button> : null}
|
| 189 |
|