From 6f83839a4cdb635b334863dc2dd2e8ba17b6fa67 Mon Sep 17 00:00:00 2001 From: orangemug Date: Sat, 28 Mar 2020 11:06:45 +0000 Subject: [PATCH] Added missing file. --- src/components/util/format.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/components/util/format.js diff --git a/src/components/util/format.js b/src/components/util/format.js new file mode 100644 index 0000000..44e494d --- /dev/null +++ b/src/components/util/format.js @@ -0,0 +1,3 @@ +export function formatLayerId (id) { + return id === "" ? "[empty_string]" : `'${id}'`; +}