Prechádzať zdrojové kódy

fix spinner showing when hash is not set

Pi 1 mesiac pred
rodič
commit
2d7f6fc40d
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      util-sqlpage/upload/index.sql

+ 1 - 1
util-sqlpage/upload/index.sql

@@ -28,7 +28,7 @@ SET ":content" = CAST($rowid AS INTEGER);
 SELECT 'dynamic' AS component, sqlpage.run_sql('sqlpage/theme.sql') AS properties
 --WHERE $rowid IS NULL
 ;
-SET ":spinner" = :hash IS NOT NULL OR :content IS NOT NULL OR $rowid IS NOT NULL; --COALESCE($rowid, '') <> '';
+SET ":spinner" = COALESCE(:hash, '') <> '' OR :content IS NOT NULL OR $rowid IS NOT NULL; --COALESCE($rowid, '') <> '';
 SELECT 'loader-start' AS component
 , 'lg' AS size
 , :tabler_color AS color