mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
[Refacotr] Button styles
This commit is contained in:
1 parent
cd2127e028
commit
d5900b605e
6 files changed
+51
-25
No files matched your search
@@ -11,8 +11,8 @@
|
||||
></v-icon>
|
||||
</div>
|
||||
<v-card-actions class="mt-10 d-flex justify-start align-center">
|
||||
<v-btn class="button primary" variant="flat" @click="deleteTask()">ÁNO</v-btn>
|
||||
<v-btn class="ml-7 button cancel" @click.stop="closeModal()">ZRUŠIŤ</v-btn>
|
||||
<v-btn class="button primary half" variant="flat" @click="deleteTask()">ÁNO</v-btn>
|
||||
<v-btn class="button primary half outline" @click.stop="closeModal()">ZRUŠIŤ</v-btn>
|
||||
</v-card-actions>
|
||||
</v-card>
|
||||
</v-dialog>
|
||||
|
||||
@@ -418,7 +418,7 @@ export default {
|
||||
|
||||
try {
|
||||
if (this.task.id) {
|
||||
await this.$axios.patch_auth(`v1/master-tasks/${this.task.id}`, this.task)
|
||||
await this.$axios.put_auth(`v1/mastertasks/${this.task.id}`, this.task)
|
||||
} else {
|
||||
await this.$axios.post_auth('v1/mastertasks', this.task)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user