JS design

Former-commit-id: 46ef678067f79997b35a86931a324e8404d4db98 [formerly 16e52ff387b32d4dcbec9bfe6132ea71192f331a] [formerly 985b6e3050f66c3131f1c62aab9a5dbe025437f2 [formerly fc71509dd032eb5cdbbfeb8de9a25d836bb2d61c]]
Former-commit-id: acffffe9de1e64b90cc0cc0eb2dff9e367c70d88 [formerly af4f7056c6fb45b96e115b182e7ab2303fc39159]
Former-commit-id: 17d369064f83ebf81d7374b92245c9003f86efbe
This commit is contained in:
Henrique Dias
2017-07-03 20:44:01 +01:00
parent 562a3862e0
commit deef004513
19 changed files with 46 additions and 64 deletions

View File

@@ -5,7 +5,7 @@
<input autofocus type="text" @keyup.enter="submit" v-model.trim="name">
<div>
<button class="ok" @click="submit">Create</button>
<button class="cancel" @click="$store.commit('showNewFile', false)">Cancel</button>
<button class="cancel" @click="$store.commit('closePrompts')">Cancel</button>
</div>
</div>
</template>
@@ -45,7 +45,7 @@ export default {
console.log(error)
})
this.$store.commit('showNewFile', false)
this.$store.commit('closePrompts')
}
}
}