fix msg
Some checks failed
build / Build (push) Failing after 9s
test / Run tests (push) Failing after 9s
Some checks failed
build / Build (push) Failing after 9s
test / Run tests (push) Failing after 9s
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import { Script } from "@App/app/repo/scripts";
|
||||
|
||||
export function storageKey(script: Script): string {
|
||||
if (script.metadata.storagename) {
|
||||
if (script.metadata && script.metadata.storagename) {
|
||||
return script.metadata.storagename[0];
|
||||
}
|
||||
return script.uuid;
|
||||
|
Reference in New Issue
Block a user