Skip to content

Build your personal knowledge base with Trilium Notes

unneeded changes from dev

zadam7d0117bd28b5
diff --git a/Dockerfile b/Dockerfile
index 745881e659..fe88bfb020 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -21,16 +21,6 @@ RUN set -x \
nasm \
libpng-dev \
python3 \
- build-base \
- cairo-dev \
- jpeg-dev \
- pango-dev \
- musl-dev \
- giflib-dev \
- pixman-dev \
- pangomm-dev \
- libjpeg-turbo-dev \
- freetype-dev \
&& npm install \
&& apk del .build-dependencies \
&& npm run webpack \
@@ -39,8 +29,8 @@ RUN set -x \
&& cp -r src/public/app/doc_notes src/public/app-dist/. \
&& rm -rf src/public/app
-# Some tools need to be kept
-RUN apk add --no-cache su-exec shadow pango libjpeg giflib
+# Some setup tools need to be kept
+RUN apk add --no-cache su-exec shadow
# Add application user and setup proper volume permissions
RUN adduser -s /bin/false node; exit 0
diff --git a/src/public/app/entities/fattribute.js b/src/public/app/entities/fattribute.js
index dc57a6e3d3..ce166e038e 100644
--- a/src/public/app/entities/fattribute.js
+++ b/src/public/app/entities/fattribute.js
@@ -42,7 +42,7 @@ class FAttribute {
get targetNoteId() { // alias
if (this.type !== 'relation') {
- throw new Error(`FAttribute ${this.attributeId} is not a relation`);
+ throw new Error(`Attribute ${this.attributeId} is not a relation`);
}
return this.value;