2
0
itizawa 6 жил өмнө
parent
commit
928cf0fdf8

+ 12 - 0
src/lib/util/path-utils.js

@@ -0,0 +1,12 @@
+
+const isTrashPage = (path) => {
+  if (path.match(/^\/trash(\/.*)?$/)) {
+    return true;
+  }
+
+  return false;
+};
+
+module.exports = {
+  isTrashPage,
+};