Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 716 Bytes

File metadata and controls

24 lines (18 loc) · 716 Bytes

Contents

Login to Postgres Container

$ docker exec -it realworld_postgres bash
$ psql -U user
# \c realworld
# select * from users;

Problems in Vue

article.tags returns as ["""]

When sent down from the server, the article.tags property is "". But when vue gets it from the axios response, the property is [""]. This seems to be a problem with vue, and to combat it, we have added the following checks into the tag components: v-if="tags.length !== 1 && !!tags[0]".